Although planning to use it, I have not yet, but it is much more mature than the Eclipse Usage Data Collector project listed here.
Porting a generic Swing project to the NetBeans Platform is not too hard, can be done piecemeal, and there are a number of examples (just google "porting swing project to netbeans"). If you decide to go this route, see this tutorial. Geertjan has some other blog entries on porting (and just about every other topic).
If you are working with the Eclipse plateform you might have a look on the Usage Data Collector project:
http://www.eclipse.org/epp/usagedata/
I answered this question before I saw yours.
Specifically, I would point you at the NetBeans Platform Gesture Collection Infrastructure.
Although planning to use it, I have not yet, but it is much more mature than the Eclipse Usage Data Collector project listed here.
Porting a generic Swing project to the NetBeans Platform is not too hard, can be done piecemeal, and there are a number of examples (just google "porting swing project to netbeans"). If you decide to go this route, see this tutorial. Geertjan has some other blog entries on porting (and just about every other topic).