Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Can't find swing classes  RSS feed

 
wayne drummond
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Rashid Ali
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you not forget to import *import javax.swing.JFrame;
This may also cause this problem.
Rashid.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!