[英]IntelliJ IDEA GUI builder – no Java code generated
I have designed my GUI form in the IntelliJ IDEA GUI designer, and selected the radio button in Project Settings → GUI Designer to generate source code instead of .class
files, but my .java
file with code looks like this: 我在IntelliJ IDEA GUI设计器中设计了我的GUI表单,并选择了Project Settings→GUI Designer中的单选按钮来生成源代码而不是.class
文件,但我的带有代码的.java
文件如下所示:
public class PovRayEmptyProjectWizardPanelVisual {
private JTextField textField1;
private JTextField textField2;
private JTextField textField3;
private JButton button1;
}
That's it – no code creating the GUI was generated. 就是这样 - 没有生成创建GUI的代码。 How do I manually trigger such code generation, so that I can compile the resulting .java
file with Maven? 如何手动触发此类代码生成,以便我可以使用Maven编译生成的.java
文件?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.