如何将java swing类导入intellij的GUI构建器? [英] How can I import a java swing class into the GUI builder of intellij?
问题描述
我有一个带有一些swing GUI形式的eclipse项目,现在我想为这个项目尝试IntelliJ。
这些swing表单是在eclipse中的window builder插件下构建的,我只有一个* .java文件。
I have a eclipse project with some swing GUI form in it, and now I want to try IntelliJ for this project. Those swing forms were built under window builder plugin in eclipse, and I've only got one single *.java file.
我有什么插件吗?用于修改IntelliJ下的这些转换形式?
Is there any plugin I can use to modify these swing forms under IntelliJ?
推荐答案
您可以使用表单快照功能,用于捕获正在运行的应用程序中对话框的结构,并将其另存为.form文件IntelliJ IDEA IDEA UI Designer的格式。
You can use the Form Snapshot feature to capture the structure of a dialog in your running application and save it as a .form file in the format of the IntelliJ IDEA IDEA UI Designer.
请注意,UI Designer不支持所有可能的Swing布局管理器;如果表单使用不受支持的布局管理器,您将无法编辑该表单。
Note that the UI Designer does not support all possible Swing layout managers; you would not be able to edit the form if it uses an unsupported layout manager.
这篇关于如何将java swing类导入intellij的GUI构建器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!