remove NullApplet for now

This commit is contained in:
Ben Fry
2013-05-31 15:38:59 -04:00
parent f450600c89
commit 7b682a3668

View File

@@ -56,31 +56,6 @@ import javax.imageio.ImageIO;
import javax.swing.JFileChooser;
class NullApplet extends Container {
public Object getAppletContext() {
return null;
}
public URL getDocumentBase() {
return null;
}
public String getParameter(String param) {
return null;
}
public void showStatus(String status) { }
public void destroy() { }
public void init() { }
public void start() { }
public void stop() { }
}
/**
* Base class for all sketches that use processing.core.
* <p/>
@@ -178,7 +153,7 @@ class NullApplet extends Container {
* </PRE>
* @usage Web &amp; Application
*/
public class PApplet extends NullApplet
public class PApplet extends Applet
implements PConstants, Runnable,
MouseListener, MouseWheelListener, MouseMotionListener, KeyListener, FocusListener
{
@@ -15538,3 +15513,31 @@ public class PApplet extends NullApplet
g.blend(src, sx, sy, sw, sh, dx, dy, dw, dh, mode);
}
}
/*
class NullApplet extends Container {
public Object getAppletContext() {
return null;
}
public URL getDocumentBase() {
return null;
}
public String getParameter(String param) {
return null;
}
public void showStatus(String status) { }
public void destroy() { }
public void init() { }
public void start() { }
public void stop() { }
}
*/