java.lang.Error

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • methods in java swing not working in eclipse
    via by Jeff Karr,
    • java.lang.Error: Unresolved compilation problems: The method setDefaultCloseOperation(int) is undefined for the type MainFrame The method setTitle(String) is undefined for the type MainFrame The method setBounds(int, int, int, int) is undefined for the type MainFrame Syntax error, insert ";" to complete Statement The method setSize(int, int) is undefined for the type MainFrame at javax.swing.MainFrame.main(MainFrame.java:27)
    No Bugmate found.