Register / Login
Win a copy of
Kotlin in Action
this week in the
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Swing / AWT / SWT
Interesting JPop-up menu Problem
posted 12 years ago
I have a JPop-up Menu which pops up on right-click; everything works alright with the menu;
Pop-up menu shows up until I select a menu item or I click on some other component.
Now the problem area is:
1> My menu is dynamically generated; I mean to say the data can change due to external factors too.. and b'coz of JPop-up menu perisistence ...user may click a undesirable menu-item.
2> Is there a way I could make the pop-ip invisble as soon as the user clicks outside the application (This is not happening)
Please advice; any workarounds; can I do something at Mouseadapater level itself?
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
Boost this thread!
PopUp Menu for JTree
how to keep the popup while clicking on JCheckBoxMenuItem?
jTable selectedRowIndex at mouse click
JPopUPmenu Problem of PopUp scroll
question about Help document