Meaningless Drivel is fun!*
The moose likes IDEs, Version Control and other tools and the fly likes NetBeans Matisse JCombBox Event Listener Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "NetBeans Matisse JCombBox Event Listener" Watch "NetBeans Matisse JCombBox Event Listener" New topic

NetBeans Matisse JCombBox Event Listener

John Davis
Ranch Hand

Joined: Nov 02, 2000
Posts: 189
I am using the Matisse GUI in the NetBeans IDE and I have a JComboBox.
When perusing the list of events associated with the JComboBox, I do not see ListSelectionListener. I need a listener to capture the setting in the JComboBox whether it be the default first item or a user selected setting.
There will be times when the user doesn't select anything in this combo box but just takes the default displayed first item, so I am leary of trying an ActionPerformed listener. I do see ComponentShown listed as an option but do not know if this maps to a ListSelectionListener. Anybody know what I should select from the Matisse event properties list for JComboBox?
It is sorta covered in the JavaRanch Style Guide.
subject: NetBeans Matisse JCombBox Event Listener
Similar Threads
Drop down event in JComboBox
A question about JComboBox
JComboBox not allowing selection from dropdown list
JComboBox ItemListener passing typed key to JTextField