I'm using IntelliJ IDEA 12 Ultimate for the trial period and came across a bit of a weird issue. While going through the code for a recent tutoring job, I had the screenshot below after trying to compile a class:
The error output is after pressing Ctrl-Shift-F9 to compile the class DrawCircleLab8
. As you can see, DrawingPanel
is indeed in package lab8
and there are no errors until the compile time exception.
When I imported the exact same project structure in Eclipse, I was able to compile and run without a problem.
Changing the SDK from 1.7 to 1.6 had no effect. How can I resolve this issue for IntelliJ?