+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
package java.beans;
import java.io.*;
-// import java.applet.*;
+import java.applet.*;
import gnu.java.io.*;
/**
}
}
-/* 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;
}