• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot resolve symbol....

 
Andrew Hartman
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
EditorPaneFrame.java:15: cannot resolve symbol
symbol : class WindowAdaptor
location: class EditorPaneFrame
addWindowListener(new WindowAdaptor()
^
EditorPaneFrame.java:45: 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
Pie
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like typos
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic