Have a question about Library development.
in
Library and Tool Development
•
10 months ago
Dear Friends,
I am new to library development for processing.org and hence kindly apologize me if my question seems to be too stupid. Coming to the point, I have created a library around processing using core.jar in order to facilitate the Flash/Actionscript style of creating content for processing. Since processing is very powerful and has a good portability factor, wished and started this wonderful journey of writing a wrapper that resembles Actionscript as much as possible.
Even before asking the billion dollar question I want to convey the working model first for you all to understand the question that I will ask.
Basically I have created classes Stage and DisplayObject where Stage inherits the PApplet.
The library works well with the netbeans model of writing the code. Since I have been using only netbeans for processing development, has crippled me about the knowledge of processing ide usage.
In netbeans on the static main method I invoke the entry class by PApplet.main(String[]{"Myclass"}) which extends 'Stage' thus the application runs fine.
But in the processing IDE I believe the code that we write is automatically wrapped as a class which extends the PApplet. Rather I want the code to extend the 'Stage' class that I have written.
Is this even possible? or a wild goose chase?
the link to my project.
http://code.google.com/p/plash
Regards,
#0K Srinivasan
1