I created a bunch of collection like this :
Collection<JTextField> myJTextfield = new ArrayList<JTextField>();
Collection<JComboBox> myJComboBox = new ArrayList<JComboBox>();
Collection<JLabel> myJLabel = new ArrayList<JLabel>();
and I'm getting a warning only in the JComboBox collection which it says:
ComboBox is a raw type. References to generic type JComboBox should be parameterized
I looked for what it means in google, they talk about generic types but I still don't get it really. my questions are :
what does it means?
why the warning appears only for the JComboBox collection??
how can I remove it?
I'll appreciate any explanation.