This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Cannot resolve symbol.... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Cannot resolve symbol...." Watch "Cannot resolve symbol...." New topic

Cannot resolve symbol....

Andrew Hartman

Joined: Mar 18, 2004
Posts: 16
Hi, Im having a problem with compiling some code. Could anyone please tell me what the problem is:

and a test file:

My compiling errors are: cannot resolve symbol
symbol : class WindowAdaptor
location: class EditorPaneFrame
addWindowListener(new WindowAdaptor()
^ cannot resolve symbol
symbol : method addActionListner (<anonymous java.awt.event.ActionListener>
location: class javax.swing.JButton
backButton.addActionListner(new ActionListener()
2 errors
Hope someone can help, many thanks
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
Looks like typos
I agree. Here's the link:
subject: Cannot resolve symbol....
It's not a secret anymore!