CS 150: Interactive Programming with Java
Troubleshooting Eclipse
Lectures
Problem: Using 1.4 instead of 1.5 (version of Java)
Highlight a package in the package explorer
Right-click on it ans select "Properties"
Expand the "Java" menu then click on "Compiler"
Click on "Configure WOrkspace Settings..." in top-right
Change the Compiler compliance level to 5.0
Click on "Apply"
Error: need to call getContentPane( )
See answer from above on using 1.4 instead of 1.5
This was mostly taken from: Stephen Gilbert's course page: http://csjava.occ.cccd.edu/~gilberts/CS170F04