I think you need to check the version of JDK your JCreator is using. In J2SE5.0 you can say JFrame.add(), but in older versions you had to say JFrame.getContentPane().add(). Your JCreator might be using J1.4, in which case you need to alter the path in JCreator. CR
JCreator installs its own JDK. It may be different from the one you installed.
If you go to the configure menu and select options and then Profiles you can see what JDK it is using. You can also change the profile (or add a new one) to point to the newer version of the JDK you have installed.
Steve<br /> <br />No matter where you go, there you are.<br /> <br />"My evil self is at the door, and I have no power to stop it."
Joined: Nov 03, 2005
Thanks for the help I updated to 1.5 Jre. I thought I had it but it was 1.4
subject: Error runnning program using javx.swing in jcreator