Link to home
Start Free TrialLog in
Avatar of ajam
ajam

asked on

Java application a float on top of an application written in another language

JDK 1.1.4
Windows NT Client 4.0

  I have an smalltalk application that takes up the entire screen and a java toolbar application.

  I want the java toolbar application or java application to stay a float on top of the smalltalk application
without taking focus from the smalltalk application.

  How do I do this?

thanks
Anthony
Avatar of mjenkins
mjenkins
Flag of United States of America image

AT the current time, there is no way to do what you request in Java. Keeping on application "always-on-top" is a function of the application's interaction with the desktop (root window). The JDK has very poor support for this kind of interaction. I'm sorry.
Avatar of ajam
ajam

ASKER

How could I use the "C" language with Java using JNI?
The JNI is fairly straight forward, but how to do what you request is dependent upon the platform on which you are deploying. Please be specific.
Avatar of ajam

ASKER

OS/2 Warp 3.0 and NT 4.0 are the platforms
Sorry again. It's been too many years since I've looked at OS/2 and NT is not my thing. I'm sure someone in one of those forums can give you the appropriate native code and then you can wrap it up in JNI.
ASKER CERTIFIED SOLUTION
Avatar of diakov
diakov

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial