Can someone help me please. I just wrote a demo program from a book which simply displays a JFrame. However, when I tried to compile the program, all object references to the JFrame caused an error. It was unable to resolve the variable or any of its methods. I'm running version 1.3.1 of the SDK so I'm not sure what's the problem. I did a search for a javax directory but only found one which contained classes for the servlets. What should I do ??? Is there another javax folder or class that I may be missing?? Thanks
posted 15 years ago
Did you not forget to import *import javax.swing.JFrame; This may also cause this problem. Rashid.