Can someone shed more light the following warning from Eclipse:
JList is a raw type. References to generic type JList<E> should be parameterized.
A line of code triggering this could be:
import javax.swing.JList;
....
private JList jList = null; // Warning on this line
You should put the type of the elements between <>, for example:
List<String> list = new ArrayList<String>();
list.add("String 1");
list.add("Some Text");
JList is a raw type as of Java 1.7, the same goes for a couple more of swing components. Your x86 and x64_86 enviroments probably have diferent versions of java, that's why you're getting the warning in one, and no warning in the other.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With