Making a JComboBox uneditable
posted 13 years ago
A JComboBox is unEditable by default. You can make it editable with the setEditable(boolean) command. If you are talking about enabled or disabled you can set that by the setEnabled(boolean) method. Setting a JComboBox enabled(false) will not allow the drop down to be activated. Editing means you can type in your own text into the text field of the Combo Box.