Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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 Badass: Making Users Awesome this week in the Game Development 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!