File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Monitoring variables in running Java applications Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Monitoring variables in running Java applications" Watch "Monitoring variables in running Java applications" New topic
Author

Monitoring variables in running Java applications

Dennis Korbar
Greenhorn

Joined: Jan 14, 2009
Posts: 20
Hello,

I am currently planning to implement a framework or an application to monitor Swing applications.
What I want that application to do, is basically log display information (size, position, visibility etc) about all JComponent classes, like JPanel, JButton etc.
I need this information to provide area's of interest for eye tracker based evaluations.
It would be really nice to do this in a way so that I don't have to modify the applications which are to be evaluated.
So, is there some (easy) way to access this data on running Java applications?

Cheers
Dennis
Freddy Wong
Ranch Hand

Joined: Sep 11, 2006
Posts: 959

You can try to use JMX for that.


SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
My Blog
Dennis Korbar
Greenhorn

Joined: Jan 14, 2009
Posts: 20
Thanks, I'll have a look at that!

I'm currently reading about the JDI API which might work for this too.
 
Consider Paul's rocket mass heater.
 
subject: Monitoring variables in running Java applications
 
Similar Threads
Sharing session data between web apps
Solaris OS Information
Need help running multiple apps on same JRE
Help! Must prevent termination of one app when second app is terminated
BMP, Jboss, and mysql configuring