This week's book giveaway is in the Security forum.
We're giving away four copies of Securing DevOps and have Julien Vehent on-line!
See this thread for details.
Win a copy of Securing DevOps this week in the Security forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Is it possible to use mouse/pen gestures with Personal Java?  RSS feed

 
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,
I'm designing a GUI for a PDA application, and I'd like to know if I can use some type of mouse gestures. I mean in the same way as you'd drag the pen to bring up the graffiti area.
Thanks
 
Author
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could use a Canvas and capture MouseEvents. Have a look at the DrawTest demo application that comes with the JDK 1.1.8. Then the hard part is interpreting the gestures :-).
 
Fernando Sanz
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
>> You could use a Canvas and capture MouseEvents
OK, I guess it'll be then a testing work, and see what I get from each one. I'll post it once I do it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!