Running a standalone application in a Java GUI

C

cpreiche

I am attempting to integrate several small standalone, open-source
applications (C++) into a single Java GUI. I have created a JFrame and
several JDesktopPanes that I envisioned containing the applications. I
currently am creating a Process and calling Runtime.getRunTime().exec(C
++appplication.exe <remoteAddress>/<remote port>). This results in the
OS environment running the application on Desktop...not in the
JDesktopPane. My questions:

1) Is it possible to run the .exe inside a container?
2) The .exec has an environment parameter...can this be manipulated to
run inside the JDesktopPane?


Thanks!!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,996
Messages
2,570,237
Members
46,825
Latest member
VernonQuy6

Latest Threads

Top