Top "Jcombobox" questions

A JComboBox is a Java GUI object.

Dynamic JComboBoxes

I have following data (String): Course1: A1 Course1: A2 Course2: B1 Course2: B2 Course2: B3 Course2: B4 Course3: C1 Course3: …

java swing jcombobox actionlistener
How to add a drop down menu to a JTable cell

This may be a question asked before. I searched a lot before posting here, but couldn't figure out any acceptable …

java swing jtable jcombobox tablecelleditor
How to avoid firing actionlistener event of JComboBox when an item is get added into it dynamically in java?

I need your suggestions and guidence on following task. I have a frame which has two JComboBoxes supposed they are …

java swing jcombobox actionlistener
JCombobox disable item selection (make combo readonly)

I'd like to create a readonly combobox. The user should not be able to select another item from the popup …

java swing selection jcombobox
display a non-selectable default value for JComboBox

I have a JComboBox that contains three Items {"Personel", "Magasinier", "Fournisseur"}. I want this JComboBox to display the value "Choisir …

java swing jcombobox prompt listcellrenderer
Java Editable JCombobox Keylistener event for Enter key

I have editable JCombobox and I added keylistener for combobox editor component. When user press 'Enter key' and if there …

java swing jcombobox keylistener enter
How to center items in a Java combobox

Is there a method for a combobox in Java that will center the items in the combobox? I tried this …

java swing jcombobox renderer
JcomboBox multiple selection

I have a jcombobox in my application. and i want it to support multiple selection (like it do in a …

swing jcombobox multi-select
How can I know when the text of an editable JComboBox has been changed?

I have an editable JComboBox where I want to take some action whenever the text is changed, either by typing …

java swing jcombobox
Java: Swing JComboBox, is it possible to have hidden data for each item in the list?

JComponents can obtain hidden data using setName() and getName(), right? What about JComboBox items? (I'm referring to the items in …

java swing jcombobox