*
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
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Monitoring variables in running Java applications