File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
Swing / AWT / SWT
Interesting JPop-up menu Problem
Joined: Feb 26, 2002
Apr 04, 2005 17:27:00
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?
I agree. Here's the link:
subject: Interesting JPop-up menu Problem
jTable selectedRowIndex at mouse click
question about Help document
how to keep the popup while clicking on JCheckBoxMenuItem?
PopUp Menu for JTree
JPopUPmenu Problem of PopUp scroll
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013