Ramon F Herrera
>restart it, I just want to tell it: "please move over to your correct
>spot". So I will need to sent to some sort of message to the Java app.
I believe, the most portable means for interprocess communication
is a socket.
You could use protocols like SOAP or REST on top of it or specify
your own simple mini-protocol.
There also are JNI-based Java-COM-bridges available.
When a window is know to appear at a certain position, it also
might be possible to move or resize it (as a last ressort) via
http://download.java.net/jdk7/docs/api/java/awt/Robot.html