Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
James Lumei
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic