• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Interesting JPop-up menu Problem

 
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ranchers,

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?

TIA
Ravi
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic