added a note about threading and applet methods

This commit is contained in:
benfry
2004-07-12 21:50:19 +00:00
parent 453cbbb09d
commit 3116f44e4a

View File

@@ -197,7 +197,6 @@ public class PApplet extends Applet
// the thread on, instead of doing it inside paint()
public void stop() {
if (thread != null) {
//thread.stop();
thread = null;
}
@@ -223,6 +222,11 @@ public class PApplet extends Applet
}
// public void destroy() is another one that gets called as the
// applet viewer is shutting down the applet. stop() is called
// first, and then destroy() to really get rid of things.
public Dimension getPreferredSize() {
return new Dimension(width, height);
}