How to get the name of global active window using Java??

Posted by Ansh J on Stack Overflow See other posts from Stack Overflow or by Ansh J
Published on 2010-06-11T17:31:39Z Indexed on 2010/06/11 17:32 UTC
Read the original article Hit count: 195

Filed under:

I am work an Desktop Application in which i need to save the name of corrently focused or active window name(mozilla firefox, or any other file name) in an text file currently I am using getActiveWindow() method of KeyboardFocusManager which give the name of active Window, or null if the active Window is not a member of the calling thread's context.

I want to get the name of Global Active window which corrently user is using.

Thanks

Ansh J

Thanks in advance

© Stack Overflow or respective owner

Related posts about java