2

I have a Qt(c++) and FLTK (lua) GUI running. And i have Java AWT/Swing GUI running, side by side in a Desktop.

How can i now inject the Qt/FLTK GUI window A-Z to my JAva Window or JWindow? So that it becomes such tree:

JWindow
|_ Third party (Qt/FLTK windows)
   |_ Button pressed on QT triggers its own c++ functions
   |_ Button pressed on FLTK triggers its own lua functions
|
|_ Watching them side by side in one main window (java)

Thanks

1 Answers1

0

There is no built-in way to do this in AWT/Swing.

Since you're on Linux, you might be able to do something like this using XEmbed.

Joachim Sauer
  • 302,674
  • 57
  • 556
  • 614