I'm getting this message from my compiler...
Note: ShadeDesigner.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
...and it seems to go away when I take away this statement with the comment...
private void makeStylePanel()
{
stylePanel = new JPanel();
styleBox = new JComboBox(styles); // This one right here.
styleBox.setEditable(false);
styleBox.addActionListener(new styleBoxListener());
stylePanel.add(styleBox);
}
or write it like this.
styleBox = new JComboBox();
So, what exactly do these notes mean, and how do I clear them up?