File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MouseEvent.getButton() equal method in jdk1.1

 
Krishnamurthy Dara
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Thanks,
krishna
 
Michael Dunn
Ranch Hand
Posts: 4632
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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'
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic