G
giangiammy
hi all,
I wrote a small java application to implement a telnet client.
I run it correctly as a Java application, but if I try to
run it as an applet I get the following:
load: Jmanager.class can't be instantiated.
java.lang.InstantiationException: Jmanager
at java.lang.Class.newInstance0(Class.java:293)
at java.lang.Class.newInstance(Class.java:261)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:617)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:546)
at sun.applet.AppletPanel.run(AppletPanel.java:298)
at java.lang.Thread.run(Thread.java:534)
In my previous test programs, the same program run as application
and as applet: is there something I missed to get an application
run as an applet?
thanx
giammy
I wrote a small java application to implement a telnet client.
I run it correctly as a Java application, but if I try to
run it as an applet I get the following:
load: Jmanager.class can't be instantiated.
java.lang.InstantiationException: Jmanager
at java.lang.Class.newInstance0(Class.java:293)
at java.lang.Class.newInstance(Class.java:261)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:617)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:546)
at sun.applet.AppletPanel.run(AppletPanel.java:298)
at java.lang.Thread.run(Thread.java:534)
In my previous test programs, the same program run as application
and as applet: is there something I missed to get an application
run as an applet?
thanx
giammy