Results 1 to 2 of 2
Thread: My First Swing Program
Sep 4, 2001, 09:15 #1
- Join Date
- Aug 2001
- 0 Post(s)
- 0 Thread(s)
My First Swing Program
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)
C:\JavaPrograms> appletviewer SwingApplication.html
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.