How can I get the input for an editable JComboBox. When user gives an input to the combo how I can get the input text from it?
JComboBox
You need to get the edited text from the combobox editor via combo.getEditor().getItem().
combo.getEditor().getItem()
2.1m questions
2.1m answers
60 comments
57.0k users