Hi,
I went through a lot of similar posts and followed the instructions therein but still couldn’t get this to work…Therefore posting…
The following line in Eclipse 3.1
ArrayList<JTextField> textboxes = new ArrayList<JTextField>();
gives the compiler error:
The type ArrayList is not generic; it cannot be parameterized with arguments <JTextField>
My java version is “1.5.0_01”
In Eclipse,
The Window > Preferences > Java > Compiler > Compliance and ClassFiles has the compiler level set to 5.0
Generated .class files compatibility set to 5.0
Source compatability set to 5.0
In Project > Properties > Java Compiler > Compliance and Classfiles also, the above three fields are set to 5.0..
Still, I am getting the above error…
Why can this be????