Recently, am facing a issue where i neither can add items into the JCombobox nor remove items from the JComboBox. If i test the same code in Eclipse Marse IDE it works but in netbeans its not working. Can I know the reason for this to happen.
This is the code which giving me problem:
public javax.swing.JComboBox<File> getJcmbSelectFile() {
return jcmbSelectFile;
}
jcmbSelectFile.removeAllItems();
The error its showing is undefined symbol jcmbSelectFile. Thanks in advance.