0

I want to how know how to set about writing a monitoring app such as Windows task manager using Java Swing. The main feature I am concerned with is the grid with a graph which get drawn with time. What are the features that I need to accomplish this? (e.g.: Java2D etc).

1 Answer 1

1

JFreeChart can handle the graphing, as shown in the demo, but you'll have to use ProcessBuilder to query the host operating system for its notion of task.

Addendum: For an example, see the Memory Usage tab of the demo.

2
  • I am mainly concerned about the UI aspect the app. I am not sure whether JFreeChart is capable of rendering graphs which gets drawn in realtime (for example as the windows task manager CPU usage graph - I mean like an animation)
    – buddhika
    Jun 15, 2010 at 20:45
  • I've added a link to the relevant demo.
    – trashgod
    Jun 15, 2010 at 21:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.