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
Thanks in advance,
Rick
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://www.codeproject.com/cpp/JavaBeanInMFCDialog.asp