By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,928 Members | 1,210 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,928 IT Pros & Developers. It's quick & easy.

Make one GUI containing java and C++ componants ?

P: n/a
Hello,

I have two application:
one in java, which use awt and wing componants as a GUI.
one in C++, which is a 3d engine, then it display in a window a 3D
modele.

I'm looking for a solution to combine these two interfaces in one
containing the Java componant + the C++ window .

Is there a way to manage with that?

JNI doens t seem to be the good approach, it should be difficult to
render the c++ output in a java component: moreover, interactions with
the mouse are required in the ed engine...

I heard about python, but I can t see the real advantage that can give
me python.

Any solution?

thank you very much for your help.

Bart
Jul 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
* ba****@free.fr (bart59) schriebt:

I have two application:
one in java, which use awt and wing componants as a GUI.
one in C++, which is a 3d engine, then it display in a window a 3D
modele.

I'm looking for a solution to combine these two interfaces in one
containing the Java componant + the C++ window .

Is there a way to manage with that?

JNI doens t seem to be the good approach, it should be difficult to
render the c++ output in a java component
Use the AWT native interface, that's what it's there for.

moreover, interactions with the mouse are required in the ed engine...


This I think you will have to manage by passing mouse events from Java to
C++ using ordinary JNI, but it's been a long time since I did such things.

--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Jul 18 '05 #2

P: n/a
http://www.etc.cmu.edu/panda3d/

Might we worth a look.

-Larry
"bart59" <ba****@free.fr> wrote in message
news:26**************************@posting.google.c om...
Hello,

I have two application:
one in java, which use awt and wing componants as a GUI.
one in C++, which is a 3d engine, then it display in a window a 3D
modele.

I'm looking for a solution to combine these two interfaces in one
containing the Java componant + the C++ window .

Is there a way to manage with that?

JNI doens t seem to be the good approach, it should be difficult to
render the c++ output in a java component: moreover, interactions with
the mouse are required in the ed engine...

I heard about python, but I can t see the real advantage that can give
me python.

Any solution?

thank you very much for your help.

Bart

Jul 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.