473,322 Members | 1,911 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Make one GUI containing java and C++ componants ?

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 22 '05 #1
2 981
* 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 22 '05 #2
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 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: bart59 | last post by:
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...
1
by: bart59 | last post by:
Hi, I've got a java program and a c++ one. The Java program`s output is a GUI, using swing and awt componants. THe Cpp program is a 3D engine: OSG, Open Scene Graph., displaying a 3D model...
14
by: Wolfgang Keller | last post by:
Hello, as a non-developer I am currently participating in an industrial "research" project to develop a so-called "web application". This application serves at the same time as middleware to...
3
by: Kevin | last post by:
I know this has probably been discussed many times before (I found answers when I searched yesterday), but I still can't get it to work... I have an attribute @OID that can contain any...
2
by: JohnK | last post by:
Hi all, This is my first time visiting this group. I already tried two other java groups, but those aren't very populated. I don't know if it is the right one, otherwise please tell me in which...
11
by: bart | last post by:
Hello, I'm so sorry, but i don't understand the concept of the .net environment yet. I made a simple program that retrieves the hostname and ipaddress of the local computer. But when i give...
12
by: Mortos | last post by:
I need some quick advice. I just need to reference a containing class from the nested class. I'm familiar with Java but C# is proving tricky. public BigClass { public int ID_BigClass = -99; ...
6
by: Selden McCabe | last post by:
I have a form with a bunch of image buttons. When the user moves the mouse over a button, I want to do two things: 1. change the Imagebutton's picture, and 2. make another control visible. I'm...
3
by: Amit_Basnak | last post by:
Dear friends I am in the process of creating the new server binary for Systinet Server for C++. I did make all and I am getting C++ error which Im posting below $ make all Error 419:...
2
by: killy971 | last post by:
I am using java to validate an XML file with a DTD, without having the DVD declaration inside the original file, by setting the doctype dynamically to a transformer like this : ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.