File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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!