Run exe in java
Hi,
By using
Runtime rt = Runtime.getRuntime();
Process proc;
proc = rt.exec("some exe");
commands I run an application in the client.
I want to run the applicationinside the java window (Frame or applet).
Is there a way?
I really need help...
[307 byte] By [
eses] at [2007-11-26 12:16:09]

# 1
I can't even think of a theoretical way to grab a different process's window. Maybe it's possible with lots of JNI, but you'll probably have to dig deep into the Windows API and then writing native painting code for your window to do it. It's not unlikely though that you just can't.
By the way, Runtime.exec() and applet don't really mix.