Commit d150822e by Mark Wielaard Committed by Mark Wielaard

* java/bean/Beans.java (instantiate): enable Applet code from Classpath

From-SVN: r39105
parent 9ca4a2fd
2001-01-17 Mark Wielaard <mark@klomp.org>
* java/bean/Beans.java (instantiate): enable Applet code from Classpath
2001-01-17 Bryce McKinlay <bryce@albatross.co.nz>
* java/lang/Class.h (isInterface): Move implementation from
......
......@@ -28,7 +28,7 @@ executable file might be covered by the GNU General Public License. */
package java.beans;
import java.io.*;
// import java.applet.*;
import java.applet.*;
import gnu.java.io.*;
/**
......@@ -116,16 +116,14 @@ public class Beans {
}
}
/* FIXME - Turned off since java.applet doesn't exist for libgcj.
* FIXME if(bean instanceof Applet) {
* FIXME Applet a = (Applet)bean;
* FIXME //a.setAppletContext(???);
* FIXME //a.setStub(???);
* FIXME if(serStream == null) {
* FIXME a.init();
* FIXME }
* FIXME }
* FIXME ********************************************************/
if(bean instanceof Applet) {
Applet a = (Applet)bean;
//a.setAppletContext(???);
//a.setStub(???);
if(serStream == null) {
a.init();
}
}
return bean;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment