We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I need to upload a program I made in processing to a site but in a .class file. Is it possible to do this or not ? If so how do I do it with Eclipse ?
Answers
See http://forum.processing.org/two/discussion/3067/exportembed-blank-canvas which mentions a tool for exporting applets.
When you export a sketch as an application, it gives you a source directory that contains your sketch as a .java file. You can compile that into a .class file using javac, you just have to make sure you have the Processing libraries on your classpath.
Alternatively, when you export your sketch as an application, it gives you a directory containing your sketch as a .jar as well as the Processing library. You can embed that .jar as an applet, just use your sketch name as the applet class.