We are about to switch to a new forum software. Until then we have removed the registration on this forum.
So I code something in Java Mode using Eclipse.
I have a Processing class
public class Pikachu extends PApplet
and an ordinary Java class
public class Jojo
They're in separated file, because it's too complicated and messy to put them in one file.
public static void main is with Jojo.
I wanna call Pikachu using Jojo, and also add some params, but I'm confused on how to do that.
Let's say Pikachu is just ordinary Java class like Jojo.
Then, when I wanna run/call Pikachu from Jojo, I just need to make the object, like,
Pikachu pika = new Pikachu(param1, param2);
How to do this with Processing class? I tried some things, but just lead me to error (like calling it like usual Java class, or even make constructor...)
If I have a mistake, or there's any lack information, or you have a link that may help me, I will be really glad if you'd like to tell me.
Machine: Win8 x64
Eclipse: Eclipse IDE for Java Developers