Bug 263 : Missing PApplet definition in processing-0098-expert\libraries\howto.txt
Last modified: 2005-12-27 16:54




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P2
Severity:
normal

 

Reporter:
van
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2005-12-27 16:28
From howto.txt

A Very Basic Example

package libraryexample;

public class BoringLibrary {
PApplet parent;

public BoringLibrary(PApplet parent) {
this.parent = parent;
parent.registerDispose(this);
}

public void dispose() {
// anything in here will be called automatically when
// the parent applet shuts down. for instance, this might
// shut down a thread used by this library.
}
}


This example doesn't include the import for PApplet and therefore will not
compile.
Additional Comment #1 From fry 2005-12-27 16:54
fixed for 0100.