Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / August 2007

Tip: Looking for answers? Try searching our database.

Spawn App and Host In Scollable Pane

Thread view: 
Kevin Sandal - 21 Aug 2007 21:36 GMT
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/newOleFrameComposit
eshellintstyle.htm

show possibilities.

Kevin
Jeff Higgins - 22 Aug 2007 16:17 GMT
>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
[quoted text clipped - 15 lines]
>
> Any ideas?

Commercial bridge.
<http://j-integra.intrinsyc.com/products/com/examples.asp>

> 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/newOleFrameComposit
eshellintstyle.htm
 
> show possibilities.
>
> Kevin
Kevin Sandal - 27 Aug 2007 20:34 GMT
>>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
[quoted text clipped - 25 lines]
>>
>> Kevin

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
Jeff Higgins - 28 Aug 2007 00:18 GMT
> 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"

> Kevin


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.