Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Porting from Processing IDE to Eclipse

866584Jun 3 2011 — edited Jun 4 2011
Hi all,

I am porting a little project I did in Processing PDE (www.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 http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/index.html .

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?

thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 2 2011
Added on Jun 3 2011
1 comment
180 views