Spawn App and Host In Scollable Pane

K

Kevin Sandal

I have a Java application (XYZ) written for JVM 5.0. XYZ launches other
applications which may be Java, .NET, or C++. XYZ must show the launched
application in a scrollable pane.

XYZ must accommodate small screen sizes (e.g., 800x600). Some of the
applications launched require higher dimensions (1280 x 1024 is the highest
so far).

Launching the application is easy enough. I use the ProcessBuilder class to
do this. I am using JNIWrapper to get the window handles and thread ID of
the launched application.

What I am missing: the means to tell the launched application to reside in
my scrollable pane.

The target platform is Windows XP (please no flames--this is mandated beyond
me).

Any ideas?

Using Eclipse as a platform is not an option at this point. Unfortunate
since articles like
http://www.java2s.com/Code/JavaAPI/org.eclipse.swt.ole.win32/newOleFrameCompositeshellintstyle.htm
show possibilities.

Kevin
 
J

Jeff Higgins

Kevin said:
I have a Java application (XYZ) written for JVM 5.0. XYZ launches other
applications which may be Java, .NET, or C++. XYZ must show the launched
application in a scrollable pane.

XYZ must accommodate small screen sizes (e.g., 800x600). Some of the
applications launched require higher dimensions (1280 x 1024 is the
highest so far).

Launching the application is easy enough. I use the ProcessBuilder class
to do this. I am using JNIWrapper to get the window handles and thread ID
of the launched application.

What I am missing: the means to tell the launched application to reside in
my scrollable pane.

The target platform is Windows XP (please no flames--this is mandated
beyond me).

Any ideas?

Commercial bridge.
 
K

Kevin Sandal

Jeff Higgins said:
Commercial bridge.

Sadly, purchasing third-party stuff is not an option at the moment. With
JNIWrapper I have a decent wrapper around JNI, so I guess it is time to
become intimately familiar with JNI, COM, and associated tech-nightmare
material.

Kevin
 
J

Jeff Higgins

Kevin said:
Sadly, purchasing third-party stuff is not an option at the moment. With
JNIWrapper I have a decent wrapper around JNI, so I guess it is time to
become intimately familiar with JNI, COM, and associated tech-nightmare
material.

Many FOSS implementations exist. I haven't enough experience to suggest one.
JACOB,
Java Access Bridge for Windows,
JCom,
JNBridge,
come up on the first page of Google hits for - "java" "com" "bridge"
 

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,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top