aspose file tools
The moose likes Java in General and the fly likes Mouse clicks combination Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

Mouse clicks combination

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi

I am trying to do digitization(drawing lines ) on a image which is displayed on a browser .

so for this I am capturing the right click and left click of the mouse .







Now please suggest me to some idea here

If user again clicks right (Two right clicks) (second right clcik) the first right should not execute and should only execute the right right combination only

Please suggest me some ideas



Save India From Corruption - Anna Hazare.
Sebastian Janisch
Ranch Hand

Joined: Feb 23, 2009
Posts: 1183
Capturing mouse clicks belongs to the world of JavaScript (at least that's what I think). You JavaScript evaluates what the user did, and then you decide what request to fire.


JDBCSupport - An easy to use, light-weight JDBC framework -
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

I am not asking how to capture the coordinates , but need a logic here so that the First right should not be executed again .
 
I agree. Here's the link: jrebel
 
subject: Mouse clicks combination
 
Similar Threads
jtable right mouse click
Need to capture image coordinates displayed in a browser window
popup menu query
Mouse Clicks in AWT/Swings
Inter Frame communication in quiz application