Op Sat, 17 Mar 2007 07:08:31 +0100 schreef Christian Stapfer <nil@[EMAIL PROTECTED]
>:
> I have written a distributed presentation/whiteboarding application
> (Java2/Swing) for online-tutoring. Currently I use a graphics tablet to
> draw
> and write on the whiteboard.
> Now I would like to switch from using a separate graphics tablet to
> using the stylus of a Tablet PC. However, my Java application seems to
> drop
> a great many mouse drag events, which results in hardly legible
> handwriting
> (not so with native Tablet PC applications like Windows Journal).
>
> http://www.freesoft.org/software/tablet-java/
suggests patching the
Java
> runtime to solve this problem - an idea from which I instinctively
> recoil in
> horror. (I'd rather rewrite the whole thing in C#, which I even might
> consider a good occasion to finally learn a reasonable amount of C# -
> although, sadly, Java's level of platform independence would be lost in
> the
> process.) Does anyone of you know another (less hackish) way to get more
> mouse-path information in a Java2/Swing application?
java.awt.MouseInfo.getPointerInfo().getLocation()
--
Gemaakt met Opera's revolutionaire e-mailprogramma:
http://www.opera.com/mail/


|