Thus making it an
application not an applet, in this class "Example" I also used various other normal java classes and swing guis. What i am trying to say is that this project is using quite a lot of everything.
When I export to a jar I get the error:
Exception in thread "main" java.lang.NoClassDefFoundError: processing/core/PApplet
When i try to run java -jar Test.jar In the console.
I have read that this is a classpath issue whole some others say it is an issue with processing. . .
This may be answered elsewhere but I cant seem to find the solution.
I am kind of stuck I am trying to get a 3d rectangle to rotate in order to face a specific x, y, z coordinate. (Note: This x, y and z coordinate changes as the simulation runs)
In processing this is not the case as using rotateX() . . rotates the whole grid. So my question is:
Is there a simply way to rotate an object to a specific direction given the coordinates of another target object?
or
Is there some way to adapt the above values from the link which are used to rotate an object around its centre so that they can work in processing where the rotation changes the whole grid.