monitoring the taskbar in windows

Hi friends

Is there a bulit in class that can directly control the open aplications in windows?.

i,e. it can find out which programs are open and minimise and maximise them, or even close them.

i am developing a java program that controls other programs in windows, but to do this i need 2 things

1. a way to control the mouse and keyboard, i have found the class ROBOT and this could control the windows as neccisary because ROBOT directly controls the mouse and keyboard strokes.

2. i need a way to get information back from the other open programs, i was thinking of print screen but that is a real mission,.. it would be ideal to read the screen shot directly from the memory without having to maximise or minimise the window.

Does Such A Class Exist?!?

Thanx

[812 byte] By [danntheduncea] at [2007-11-15]