switch focus to another window
hello, i'm trying to write an app to control another app in Windows, there is a keyPress method in Robot class, but i don't know how to specify which process to send the key, is there any methods to send focus to a specific window and bring it to top on desktop, therefore i can send a key to it properly?
RMI and bringing windows to front
If you want to control another application in windows you need to study Remote method induction....but if your java application window is the one you want to see the toFront() method works and you need to decide if it is modable or not...if it is a container. I don't believe you understand the principles of giving commands to exterior applications within your own.
try studying the API