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
A:
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.
trashgod
2010-06-15 20:23:08
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
2010-06-15 20:45:27
I've added a link to the relevant demo.
trashgod
2010-06-15 21:50:11