This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes How to embeded C++ GUI onto a Swing application? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to embeded C++ GUI onto a Swing application?" Watch "How to embeded C++ GUI onto a Swing application?" New topic
Author

How to embeded C++ GUI onto a Swing application?

James Lumei
Greenhorn

Joined: Dec 19, 2001
Posts: 5
We have an existing windows UI application which contains an OpenGL image viewer.

We are thinking about rewrite the UI application by using Swing except the C++ OpenGL image viewer. I am wondering how to integrate the existing C++ OpenGL image viewer with the new Swing UI.

I have no problem to use JNI call C++ methods but I have no experience on put a C++ window inside a Java panel.

Can anybody help me? Ideas, links and sample program all will be appreciated.

Thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to embeded C++ GUI onto a Swing application?
 
It's not a secret anymore!