Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Machine > Re: How do I ge...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 11 Topic 759 of 816
Post > Topic >>

Re: How do I get smooth handwriting on a Tablet PC using Java2/Swing?

by "Christian Stapfer" <nil@[EMAIL PROTECTED] > Mar 19, 2007 at 07:10 AM

"Tom Hawtin" <usenet@[EMAIL PROTECTED]
> wrote in message 
news:45fda250$0$8717$ed2619ec@[EMAIL PROTECTED]
> Chris Uppal wrote:
>>
>> Another thought is that the tablet's Java implementation may have the
AWT
>> method Component.coalesceEvents() available for override in your custom
>> Component.  I have never tried it myself, but it looks as if you can 
>> override
>> that to control what events are coalesced.
>
> Looking at the 1.6 EventQueue source (which is quite different from
1.5), 
> you might need to use coalesceEvents as if it were your event listener. 
> Also note, rather unusually coalesceEvents is not necessarily invoked in

> the EDT.
>
> Tom Hawtin

Thank you both for your replies: I will look into this.
As to my application possibly not being able to keep
up with mouse movements: although my application has
hardly anything other to do than to process those mouse
movements (i.e. storing them but also drawing a small
line segment connecting the last point with the current
point of the stroke being drawn), this seems quite
possible to me.
 If I am not mistaken, the C# low-level Ink handling
system actually takes in an entire stroke before
handing the complete stroke to the application...
Also I vaguely remember having read a comment
stating that in order to have really high-quality
digitizer data for a stroke one needs to handle
the incoming digitizer data with a "real-time"
priority thread. - But maybe there is a medium-quality
way, instead of just a low- or a high-quality
way of capturing an ink stroke? - And medium-quality
just might be good enough for me, and my pupils...

Regards, and thanks again for your replies,
Christian
 




 11 Posts in Topic:
How do I get smooth handwriting on a Tablet PC using Java2/Swing
"Christian Stapfer&q  2007-03-17 07:08:31 
Re: How do I get smooth handwriting on a Tablet PC using Java2/S
"Boudewijn Dijkstra&  2007-03-18 14:37:51 
Re: How do I get smooth handwriting on a Tablet PC using Java2/S
"Christian Stapfer&q  2007-03-18 15:37:22 
Re: How do I get smooth handwriting on a Tablet PC using Java2/S
"Chris Uppal" &  2007-03-18 17:09:47 
Re: How do I get smooth handwriting on a Tablet PC using Java2/S
Tom Hawtin <usenet@[EM  2007-03-18 20:34:12 
Re: How do I get smooth handwriting on a Tablet PC using Java2/S
"Christian Stapfer&q  2007-03-19 07:10:40 
Re: How do I get smooth handwriting on a Tablet PC using Java2/S
"Boudewijn Dijkstra&  2007-03-28 23:11:44 
Re: How do I get smooth handwriting on a Tablet PC using Java2/S
"Christian Stapfer&q  2007-03-29 07:36:02 
Re: How do I get smooth handwriting on a Tablet PC using Java2/S
"Boudewijn Dijkstra&  2007-04-02 22:30:10 
Re: How do I get smooth handwriting on a Tablet PC using Java2/S
"Christian Stapfer&q  2007-04-03 06:43:17 
Re: How do I get smooth handwriting on a Tablet PC using Java2/S
"Boudewijn Dijkstra&  2007-04-03 18:27:28 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 17:39:46 CDT 2008.