JComboBox - How to use the selectedItemChanged() method
843807Aug 13 2001 — edited Aug 13 2001I am trying to find a way to call a specific function (that I wrote) when I select an item from a ComboBox.
The following method came to my attention
JComboBox.selectedItemChanged()
which is called when the selected item changes. Its default implementation notifies the item listeners.
This method is private so I can't override it.
Could you please let me know if there is anyway to call a function when the selected item is changed. (With or without using the method mentioned immetiatelly above)
Thanks,
Petros