Error I get when compiling using Xlint is:
where E is a type-variable
E extends Object declared in class JComboBox
waring: [unchecked] unchecked call to addItem("blank") as a member of the raw type JComboBox
c1.addActionListener
(
new ActionListener()
{
public void actionPerformed(ActionEvent e)
{
if(c1.isSelected())
{
fillSF2MC();
c3.setEnabled(false);
playBtn.setEnabled(true);
faceCombo.removeItem("Blank");
}
if(!c1.isSelected())
{
faceCombo.removeItem("Ken");
faceCombo.removeItem("Guile");
faceCombo.removeItem("Ryu");
}
if(!c1.isSelected()&&!c2.isSelected())
{
c3.setEnabled(true);
}
if(!c1.isSelected()&&!c2.isSelected()&&!c3.isSelected())
{
faceCombo.addItem("Blank");
playBtn.setEnabled(false);
}
}
}
);