aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes some event in swing which is similar to mouse events, sensed throu touch screen Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "some event in swing which is similar to mouse events, sensed throu touch screen" Watch "some event in swing which is similar to mouse events, sensed throu touch screen" New topic
Author

some event in swing which is similar to mouse events, sensed throu touch screen

Sachindra Pratap
Ranch Hand

Joined: Jun 03, 2008
Posts: 42
hi,
Actually i am using the touch screen in my application, front end.

But the problem is ,on particular button i have added the event, mouse pressed and mouse released.

ie. in state of mouse pressed some task is performed and ,on release of mouse some other task gets executed.
all the task takes place when operations are performed throu mouse, but while using fingers on touch screen,
task don't get perform .


So please let me know any event which could work similar to mouse press and mouse release on touch screen.


thanks,
sachindra
srinivas akarapu
Greenhorn

Joined: Feb 15, 2012
Posts: 2
Hi sachindra,
Even am facing the same issue.
Where you able to resolve the issue.If so could you please help to share me the solution.
thanks.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39409
    
  28
Welcome to the Ranch

Since Sachindra Pratap has not posted since that post, you might have a long wait for a response! It would appear nobody knew then. Let’s try Googling touch screen mouse event Java, where you find this, which might be helpful. Start by trying the touch screen event as if it were an ordinary mouse event, and tell us what happens.
 
Don't get me started about those stupid light bulbs.
 
subject: some event in swing which is similar to mouse events, sensed throu touch screen