Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

James Lumei
Posts: 5
  • 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.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic