Could not compile (generics are not supported)

I've got 3 platforms in Platform Manager:

JDK 1.6.0 (default)

Hotspot 1.5.x

Hotspot 1.4.x

i tried to compile a "ProgressBarSample.java" of the online-tutorial, but the studio returns me error in line:

class Task extends SwingWorker<Void, Void> {

@Override

and on the out says:

generics are not supported in -source 1.4

(use -source 5 or higher to enable generics)

class Task extends SwingWorker<Void, Void> {

annotations are not supported in -source 1.4

(use -source 5 or higher to enable annotations)

@Override

how could i enable -source 5? i use everywhere the 1.6.0 SDK as default.

[689 byte] By [Jacona] at [2007-11-27 2:13:30]
# 1
- Right-click on the project and select 'Properties'.- In the project properties window, go to 'Sources' category panel.- In the right-hand panel, select the desired source level from 'Source Level' combo-box.
KarthikRa at 2007-7-12 2:08:56 > top of Java-index,Development Tools,Java Tools...
# 2
done, i don't know why it didn't work before.u get the reward!
Jacona at 2007-7-12 2:08:56 > top of Java-index,Development Tools,Java Tools...