mirror of
https://github.com/processing/processing4.git
synced 2026-01-29 03:11:08 +01:00
notes and updating to registerMethod()
This commit is contained in:
@@ -81,7 +81,7 @@ public class Client implements Runnable {
|
||||
thread = new Thread(this);
|
||||
thread.start();
|
||||
|
||||
parent.registerDispose(this);
|
||||
parent.registerMethod("dispose", this);
|
||||
|
||||
// reflection to check whether host applet has a call for
|
||||
// public void clientEvent(processing.net.Client)
|
||||
|
||||
@@ -76,7 +76,7 @@ public class Server implements Runnable {
|
||||
thread = new Thread(this);
|
||||
thread.start();
|
||||
|
||||
parent.registerDispose(this);
|
||||
parent.registerMethod("dispose", this);
|
||||
|
||||
// reflection to check whether host applet has a call for
|
||||
// public void serverEvent(Server s, Client c);
|
||||
|
||||
@@ -797,7 +797,7 @@ public class Capture extends PImage implements PConstants {
|
||||
checkValidDevices(src);
|
||||
|
||||
// register methods
|
||||
parent.registerDispose(this);
|
||||
parent.registerMethod("dispose", this);
|
||||
|
||||
setEventHandlerObject(parent);
|
||||
|
||||
|
||||
@@ -611,7 +611,7 @@ public class Movie extends PImage implements PConstants {
|
||||
this.filename = filename; // for error messages
|
||||
|
||||
// register methods
|
||||
parent.registerDispose(this);
|
||||
parent.registerMethod("dispose", this);
|
||||
|
||||
setEventHandlerObject(parent);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user