toolkit:
I am using J2EE 1.4 SDK that came with the donload of 'Sun Java™ System Application Server Platform Edition 8'
I hope thats ok ??
stefanwagner:
I set that environment variable and i still get the same error.
I have updates that web page wth more console read outs..
Hope to hear...
still getting bad errors:
see here for the error screen cap and code :) :
http://www.vfxtalk.com/java_page.htm
Cheers for all your help!!! Look forward to your replies!!
Paul
import javax.swing.*;
public class HelloWorldSwing {
/**
* Create the GUI and show it. For thread safety,
* this method should be invoked from the
* event-dispatching thread.
*/
private static void createAndShowGUI() {
//Make sure we have nice window...
hey mate,
ooops...should have cleared that up...I have compiled it..in my dir I have HelloWorldSwing.class and HelloWorldSwing.java ...
I used javac c:\sun\appserver\jdk\bin HelloWorldSwing.java to compile and get the .class file...then i run java c:\sun\appserver\jdk\bin\<working...
Hi All,
Im very new to Java and I am doing the simple 'Hello World' swing tutorial...
When i run the HelloWorldSwing.java file from my console it pops up the 'HelloWorld' code in Notepad instead of the expected JFrame ...
What have i overlooked ??
Cheers for any help
Paul
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.