Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/382.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/user-interface/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 使用intellij在GUI设计器中打开.form文件_Java_User Interface_Intellij Idea - Fatal编程技术网

Java 使用intellij在GUI设计器中打开.form文件

Java 使用intellij在GUI设计器中打开.form文件,java,user-interface,intellij-idea,Java,User Interface,Intellij Idea,我正在开发一个java应用程序,在这个应用程序中,我创建了一个新的GUI表单,并使用图形界面来设计表单,但在一切正常之后,我退出了Intellij idea 14,然后回来,GUI消失了,表单只能用XML编辑和查看。 为什么?如何使用拖放表单构建返回GUI设计器?从文件模板创建新的GUI表单 In the Project tool window, right-click the package where you want to create the new form. On the cont

我正在开发一个java应用程序,在这个应用程序中,我创建了一个新的GUI表单,并使用图形界面来设计表单,但在一切正常之后,我退出了Intellij idea 14,然后回来,GUI消失了,表单只能用XML编辑和查看。
为什么?如何使用拖放表单构建返回GUI设计器?

从文件模板创建新的GUI表单

In the Project tool window, right-click the package where you want to 
create the new form.
On the context menu choose New. The submenu contains items for all 
defined File Templates, including GUI forms.
Select the desired GUI form template on the context menu, and give 
it a name when prompted.
从gui表单创建文件模板的步骤

Create a GUI form or open it in the GUI Designer.
On the Main menu, choose Tools | Save File as Template. 
The File Templates dialog displays the source code of the form. 
The extension of the new template is .form
Specify the template name, and click OK.
创建新的gui表单的步骤

On the main menu, choose File | New, as described in the section 
Creating Files.
On the pop-up menu, choose GUI Form.
Specify the name of the new form, and select the layout manager.
Check the option Create bound class, and 
specify the bound class name.
Click OK.
你可以从下面的链接获得更多信息


从文件模板创建新gui表单的步骤

In the Project tool window, right-click the package where you want to 
create the new form.
On the context menu choose New. The submenu contains items for all 
defined File Templates, including GUI forms.
Select the desired GUI form template on the context menu, and give 
it a name when prompted.
从gui表单创建文件模板的步骤

Create a GUI form or open it in the GUI Designer.
On the Main menu, choose Tools | Save File as Template. 
The File Templates dialog displays the source code of the form. 
The extension of the new template is .form
Specify the template name, and click OK.
创建新的gui表单的步骤

On the main menu, choose File | New, as described in the section 
Creating Files.
On the pop-up menu, choose GUI Form.
Specify the name of the new form, and select the layout manager.
Check the option Create bound class, and 
specify the bound class name.
Click OK.
你可以从下面的链接获得更多信息


我修复了它关闭XML视图和idea 14本身并重新打开它所有的功能。

我修复了它关闭XML视图和idea 14本身并重新打开它所有的功能。

是的,这很奇怪。我也是。通过在xml视图中关闭.form来修复。是的,这很奇怪。我也是。通过在xml视图中关闭.form进行修复。