I am porting a little project I did in Processing PDE (Processing.org) into Eclipse because I want to use full Java functionalities. For those who dont know Processing is a Java based language...pratically speaking it consists of libraries to build 2D/3D interactive graphics and animations.
The processing.core package contains all processing classes, and I 've imported and built it within my Eclipse project. The PApplet class is the one that contains most of functionalities of Processing. Here is a link with documentation Generated Documentation (Untitled) .
Now in the Processing PDE when I create multiple classes, they are all treated as "inner classes," meaning they are not individual entities unto themselves, but rather are classes inside of the larger PApplet. This is causing lot of confusion for me now and I don't know how to treat and link all classes together.
It would br great if someone could have a look and explain me how to correct all errors I get. This is the project file with all classes and libraries http://www.designedbyenergy.com/site/myproject.zip
In addition, one thing that is not clear to me is to make a global variable accessible to all classes within the Project. Where do I declare global variables? How can I access them from all classes?