Java Client Window
-
Hi All, I have a simple yet complex problem, has anyone tried or does anyone know how to create a child window that is a java window? My idea is this:- Using JNI start java VM create top level java class (window), passing View HWND in java (window) create Frame with HWND as parent What I mean by this is a java application/class runs inside a MFC application like so:
.......MFC Main Frame...............
. ......MFC View.................. .
. . ......Java Swing Window..... . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . ............................ . .
. . . .
. ................................ .
. .
....................................Thanx in advance...
-
Hi All, I have a simple yet complex problem, has anyone tried or does anyone know how to create a child window that is a java window? My idea is this:- Using JNI start java VM create top level java class (window), passing View HWND in java (window) create Frame with HWND as parent What I mean by this is a java application/class runs inside a MFC application like so:
.......MFC Main Frame...............
. ......MFC View.................. .
. . ......Java Swing Window..... . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . ............................ . .
. . . .
. ................................ .
. .
....................................Thanx in advance...
The best integration for Java in a WIN32 window application is through applet context. Thus I would reuse the chtmlview and put an html page there with the right applet tag.
Back to real work : D-22.