-
Bug
-
Resolution: Cannot Reproduce
-
P5
-
None
-
1.2.0
-
x86
-
solaris_2.5
Using "JDK-1.2beta3-N", on Solaris, can't run the applet when invoking "appletviewer SwingApplet.html" from the demo/jfc/SwingApplet directory AFTER removing the SwingApplet.class
Appletviewer throws the following exception while running swing applet with SwingApplet.jar file alone. It works fine, when run with the associated SwingApplet.class file.
To reproduce:
copy JDK1.2beta3-N SwingApplet in /tmp.
cd /tmp/SwingApplet
appletviewer SwingApplet.html
Appletviewer works fine with SwingApplet.html as long as SwingApplet.class exist.
Now remove the SwingApplet.class in /tmp/SwingApplet, then run Appletviewer, it throws the following exception:
at java.awt.swing.JApplet.createRootPane(JApplet.java:123)
at java.awt.swing.JApplet.<init>(JApplet.java:97)
at SwingApplet.<init>(SwingApplet.java:30)
at java.lang.Class.newInstance(Native Method)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:459)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:395)
at sun.applet.AppletPanel.run(AppletPanel.java:234)
at java.lang.Thread.run(Thread.java:490)
- relates to
-
JDK-4098706 SwingApplet.jar is missing from the SwingApplet folder
-
- Closed
-