This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes MouseEvent.getButton()  equal method in jdk1.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "MouseEvent.getButton()  equal method in jdk1.1" Watch "MouseEvent.getButton()  equal method in jdk1.1" New topic

MouseEvent.getButton() equal method in jdk1.1

Krishnamurthy Dara

Joined: Jul 27, 2006
Posts: 7
Hi All,

I am using jdk1.1 version. What is the equal method in jdk1.1 for
MouseEvent.getButton(). To catch the right click on the screen.

Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
don't know what is/isn't supported in 1.1, but try these

note: needs additional code if you want to specifically ID the left button
i.e. as is, the mouse wheel button will also show as 'left'
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: MouseEvent.getButton() equal method in jdk1.1
It's not a secret anymore!