• Post Reply Bookmark Topic Watch Topic
  • New Topic

popupMenuWillBecomeInvisible does not capture seleted value/item

 
Rico Strydom
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Poeple,

I have a combobox with this PopupMenuListener. All works fine, except that the popupMenuWillBecomeInvisible method does not capture the selection made and neither does it show the selection.



The popupMenuWillBecomeInvisible does fire but the System.out.println() returns 'nul'l as answer to the value i have selected from the combobox.

What could be reason for this behaviour?

Hope you can help...


 
Rob Camick
Ranch Hand
Posts: 2700
10
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use an ActionListener to handle the section of an item in a combo box.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!