CS Department, Colorado State University
CS 150: Interactive Programming with Java

Troubleshooting Eclipse

Lectures


Problem: Using 1.4 instead of 1.5 (version of Java)

  1. Highlight a package in the package explorer
  2. Right-click on it ans select "Properties"
  3. Expand the "Java" menu then click on "Compiler"
  4. Click on "Configure WOrkspace Settings..." in top-right
  5. Change the Compiler compliance level to 5.0
  6. 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