We are about to switch to a new forum software. Until then we have removed the registration on this forum.
hello all, previously i was using a jcreator java ide for using processing sketches in java but the ide got outdated so i switched to netbeans ,however when i tried to import processing libraries and run basic sketches it throws an error
run:
Usage: PApplet <appletname>
For additional options, see the Javadoc for PApplet
Java Result: 1
BUILD SUCCESSFUL (total time: 1 second)
please help
Answers
First create a package and call it main. Then create 2 .java files. In the first one type this code and call it RunProcessing.java
In the second one you can place your actual Processing code and call it ExampleProcessing.java Notice you can change the names by renaming main.ExampleProcessing inside RunProcessing.java