How write RMouseListener and RMouseMotionListener code

0 views
Skip to first unread message

yin pying

unread,
Feb 29, 2012, 8:33:19 AM2/29/12
to Deducer
hi,

My task is read the tablet coordinates by using R. Tablet is same as
mouse function. I know how to write the code for detect x-y coordinate
in java code but not in R. Any more reference about how to write the R
code for gui and actionlistener can provided?


Thanks

Ian Fellows

unread,
Feb 29, 2012, 12:50:38 PM2/29/12
to ded...@googlegroups.com
The development page has an example of an actionlistener (
http://www.deducer.org/pmwiki/pmwiki.php?n=Main.Development#rtuaal ).
The two listeners that you mention are just implementations of the
java interface MouseListener and MouseMotionListener, so if those
respond to tablet actions, everything should just work.

ian

Reply all
Reply to author
Forward
0 new messages