简体   繁体   English

混合Swing GUI组件和JOGL

[英]Mixing Swing GUI components and JOGL

How does one go about adding JButton s among various other Swing GUI components inside a JOGL canvas? 如何在JOGL画布内的其他各种Swing GUI组件之间添加JButton Is it even possible? 可能吗 Is it practical? 实用吗?

If it is not possible/practical/feasible how would you go about programming your own GUI components that work in JOGL? 如果不可能/不可行/不可行,您将如何编写自己在JOGL中工作的GUI组件?

As an alternative to embedding Swing (or SWT) components within a JOGL canvas, you could use an OpenGL UI toolkit for Java. 作为将Swing(或SWT)组件嵌入JOGL画布中的替代方法,可以使用Java的OpenGL UI工具箱。

You could investigate FengGUI . 您可以调查FengGUI

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM