This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java and Tablet PC

 
Neo Chung
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone write or run java codes on tablet PC?
and what i wanna know is that when the pen touch the screen, what event handler would be trigger?
 
Vijayakumar Arya
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
The pen events are similar to the mouse events. Only mouse events are fired as you touch the screen with the mouse.
Also, depending on the control it is invoking the appropriate event will be fired. If you are clicking a button, ActionEvent would be fired, if you are clicking on a combo box, appropriate event would be generated.
Pen to a Tablet PC as Mouse to the Desktop. So event handling mechanism are one and the same.
[ February 11, 2003: Message edited by: Vijayakumar Arya ]
 
Neo Chung
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for your reply....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic