File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Mouse Click Madness!  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Mouse Click Madness!  " Watch "Mouse Click Madness!  " New topic

Mouse Click Madness!

simon keillor

Joined: Jun 23, 2004
Posts: 24

Am working on application that displays information graphically. To navigate different levels we use the following:

Double left click = next level
Double right click = previous level
Single right click = popup menu

My problem is that the double right click doesn't work because the popup menu kicks in first!

How can I accommodate both right click features?



Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
this is a bit of a dodgy workaround for a double-click of a button
it might give you something to play around with

I agree. Here's the link:
subject: Mouse Click Madness!
It's not a secret anymore!