• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NetBeans Matisse JCombBox Event Listener

 
John Davis
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic