Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JPopupMenu persists on single mouseclick..any ideas on how to make it vanishable?  RSS feed

Ravi Sathish
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings Ranchers,

Here's my code for JPopupMenu; The menu's work properly. Unfortunately the popUp does not vanish on single mouseclicks. Infact I need to make double mouseclicks before it vanishes. The component for popMenu is a JTable and event is MouseEvent right button click.

My question is how to make it vanishable on single mouseclick? Any suggetsions,solutions,workarounds deeply appreciated

Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!