如何在 Java 中创建停靠面板? [英] How to create docking panel in Java?

查看:33
本文介绍了如何在 Java 中创建停靠面板?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在 Java 中创建停靠面板?

How do I create a docking panel in Java?

推荐答案

如果您打算使用 Swing 停靠框架在您的应用程序中,其中一些已经存在:

If you mean to use a Swing docking framework in your application, there are some of them already existing:

但是,如果您的意思是本着 YzDock 或其他类似的精神添加纯 Java 扩展坞(GNOME-DO 扩展是另一个示例),我认为您没有其他解决方案,只能自己动手.幸运的是,有某种现有技术(是的,它使用文本而不是图像,但这只是 JMenuItem/JButton 内容的问题.

However, if you mean adding a pure Java dock in the spirit of things like YzDock or other ones (The GNOME-DO extension is an other example), I think you'll have no other solution but to do it yourself. Fortunatly, there is some kind of prior art (yes, it uses text instead of images, but it's only a matter of JMenuItem/JButton contents).

1.此网站目前不可用.

这篇关于如何在 Java 中创建停靠面板?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆