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 Right Click event Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Right Click event" Watch "Right Click event" New topic

Right Click event

Richard Mendoza
Ranch Hand

Joined: Feb 26, 2003
Posts: 48
I want to display a pop-up menu if a click on the right mouse button. What shall I do?

Bill White
Ranch Hand

Joined: Oct 27, 2002
Posts: 82
At what point are you having trouble? Knowing if a right click event was fired? Displaying the popup?
I agree. Here's the link:
subject: Right Click event
jQuery in Action, 3rd edition