Thread
:
stylus events java
View Single Post
dunff2k
2008-11-24 , 20:14
Posts: 15 | Thanked: 0 times | Joined on Nov 2008
#
1
Hey all!
I'm writing a simple scribble program in java on the N810.
I create a listener and have registered for the following events:
SWT.MouseUp
SWT.MouseDown
SWT.MouseMove
However the SWT.MouseMove doesn't fire as much as I expected. In debugging mode on my PC it fires hundreds of times for a simple drawing but on the device it fires about 12 times.
In fact using various SWT scribble examples found on the web, the effect is the same as the events don't fire enough to make a drawing
Is there a better way to get the coordinates of the stylus pointer when pressed down?
Last edited by dunff2k; 2008-11-25 at
17:53
.
Quote & Reply
|
dunff2k
View Public Profile
Send a private message to dunff2k
Find all posts by dunff2k