User Tools

Site Tools


This is an old revision of the document!

Processing Tutorial

Part 4: Java Mode

In Java mode, you can use full java programs. Just put your code in a class that extends PApplet:

public class MyDemo extends PApplet
{ ...

Now that your program has its own class name, you can reference it from other programs, which allows you to re-use it in other applications.

[This removes the limitations of Processing- you can now use Processing utilities without being constrained to one of Processing's PApplet windows. This means that you can write a program that uses one of Processing's windows as an embedded object, etc.]

Next: Part 5- Running Programs

Last: Part 3- Continuous Mode

part_4-_java_mode.1188499996.txt.gz · Last modified: 2007/09/10 17:15 (external edit)