wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes code error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "code error" Watch "code error" New topic
Author

code error

Brad Cantrell
Greenhorn

Joined: Aug 27, 2005
Posts: 22
This code brings up "cant find symbol" errors for lines 5, 12, 13 and 18 for classes JFrame and JButton. I just cant find whats wrong.
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

Hi Brad,

There's no such package as "java.swing" -- it's actually "javax.swing".


[Jess in Action][AskingGoodQuestions]
Brad Cantrell
Greenhorn

Joined: Aug 27, 2005
Posts: 22
Thanks Ernest
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: code error