Monitor GUI events using JVMTI

I'm looking for a way to create a log of all GUI events (JButton clicks, JInternalFrame init/close/minimize, etc.) with a timestamp. I would like to do this without editing the application source code (sprinkling trace statements throughout the app source). Is JVMTI the way to go for this endeavor? Could someone provide a road map of how to accomplish this?

thanks!

[381 byte] By [mqna] at [2007-10-2 22:23:07]
# 1
Jean-Francois Denise from the JMX team has a nice MBean which might be useful to you: http://blogs.sun.com/roller/page/jmxnetbeans?entry=jmx2awt_mbean
alan.batemana at 2007-7-14 1:40:27 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...