Is there a Java library that enables gathering UI

2019-05-24 23:44发布

问题:

Is there a Java library that enables gathering UI usage statistics?

Something that feels like log4j?

回答1:

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/



回答2:

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).