URGENT HELP.proclipsing with Java
in
Integration and Hardware
•
1 year ago
I am in urgent.If you can help me,it will be great.
I have a class Trial that extends PApplet and has setup() and draw() methods. And I simply run the file and it creates an applet based on the setup and draw.
What I want to do is to call the class Trial from other java class .Based on the logic in the other java class the class,I decide whether to use Trial or not.
Also I want to pass parameters to the draw method,which would draw certain figure based on the parameter values.
I will appreciate the help.
Thank you
Ravi
1