Group: comp.lang.java.programmer
From: ram@zedat.fu-berlin.de (Stefan Ram)
Date: Sunday, February 24, 2008 10:35 PM
Subject: Re: How to remote-control a Java app?

Ramon F Herrera writes:
>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

News in English | Binaries Groups | 20lbs in 30 days