How to get the name of global active window using Java??
- by Ansh J
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