[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Embedding a JFrame into a Win32 C++ application

Posted on 2004-11-02
3
Medium Priority
?
415 Views
Last Modified: 2010-04-01
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
0
Comment
Question by:slikrik98
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 2

Expert Comment

by:pb_india
ID: 12473685
0
 

Author Comment

by:slikrik98
ID: 12474118
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?

0
 
LVL 2

Accepted Solution

by:
pb_india earned 1000 total points
ID: 12474264
Try to set:

JAVA_HOME=d:\j2sdk1.4.2_04
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question