如何在Java中进行gui移植?
我正在运行 Qt(c++) 和 FLTK (lua) GUI。我有 Java AWT/Swing GUI 在桌面上并排运行。
我现在如何将 Qt/FLTK GUI 窗口 AZ 注入到我的 JAva 窗口或 JWindow?让它变成这样的树:
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)
谢谢
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
AWT/Swing 中没有内置方法可以执行此操作。
由于您使用的是 Linux,您可能可以使用 XEmbed 执行类似的操作。
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.