by pure java code not with the help of any programming language

hi how can i Read The Title bar of any active window(like notepad ,mirosoft word ,internet explorer and so on......)who is runnning in windows Xp and close that window by pure java code not with the help of any programming language
[245 byte] By [v_m_007a] at [2007-11-26 16:29:57]
# 1
You can try to call using rundll32 but I'm not sure all required functions (FindWIndow and SendMessage at least) are available for such calling...
Michael.Nazarov@sun.coma at 2007-7-8 22:54:24 > top of Java-index,Java HotSpot Virtual Machine,Specifications...