is it possible to add an instance of a java application as a child form a .NET Form?
Thanks
is it possible to add an instance of a java application as a child form a .NET Form?
Thanks
I don't think it is. A Java program will have to run in its own process. A window from one process cannot be the child of a window of another process.
EDIT: Apparently I was wrong, it is possible to have a window from one process be a child of a window from another process, for example here
It might work with Java, depending on how the Java GUI framework the application uses works with Windows controls. The Windows Spy can help you figure out a little more about your Java application.
There is no easy and straightforward way todo that, at least that I'm aware of. One of possible solutions could be to make from your Java
application an Applet
and recall it inside embedded in Windows Form WebBrowser
control. After you need to care about communication between your application and applet.
Some hints can find here
Hope this helps.