Link to home
Start Free TrialLog in
Avatar of slikrik98
slikrik98

asked on

Embedding a JFrame into a Win32 C++ application

Greetings.  I'm new to the world of JNI, and I'm also relatively new to the world of MFC.  I have a java swing program that is a JFrame and I'd like to embed this frame into a legacy C++ application built using MFC.  Can anyone point me to a good example or tutorial of this, or provide some code snippets that might get me on the right path?

Thanks in advance,
Rick
Avatar of pb_india
pb_india

Avatar of slikrik98

ASKER

I had actually already tried that sample.  It compiled fine, however it crashes when i try to run it.  I've set the "JAVA_HOME" environment variable to my j2sdk1.4.2_04/jre/bin folder... is that correct?

ASKER CERTIFIED SOLUTION
Avatar of pb_india
pb_india

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