I am investigating Java Swing at [URL=http://java.sun.com/docs/books/tutorial/uiswing/mini/firstexample.html]
Trying to use the appletviewer to run the HTML but get message of:
start:applet not initialized (in the appletviewer)
and

C:\JavaPrograms> appletviewer SwingApplication.html
java.lang.ClassCastException: SwingApplication
at sun.applet.AppletPanel.createApplet(AppletPanel.java:579)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:515)
at sun.applet.AppletPanel.run(AppletPanel.java:293)
at java.lang.Thread.run(Thread.java:484)

in the MSDOS window.

Went to the jdk1.3.1\demo\jfc\SwingApplet file to see if there is something missing and tried to run the swingapplet.html file. It opened a browser window with a grey rectangle of the right size but nothing else. This is the same thing that occurs when I try to run the SwingApplication without using the appletviewer. Both say that the applet is started and the browser indicates that the download is done but nothing else. I am using Windows '98/IE5 and N6.
Do I need another component to the java environment. The article says that if I am using Java2 all the swing componenets are in the core. I am able to run other applets such has the clock.