Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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:

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. How do I manually trigger such code generation, so that I can compile the resulting .java file with Maven?

like image 834
Alexander Tumin Avatar asked May 07 '12 13:05

Alexander Tumin


People also ask

How can I get Java source code in IntelliJ?

zip to IntelliJ IDEA. 2.2 Platform Settings -> SDKs -> Select Sourcepath -> plus icon -> select src. zip from the JDK installed path. 2.3 Done.

What is IntelliJ GUI written in?

As much as i got to know intellij idea is written in java with swing with using no additional third party ui frameworks.


1 Answers

Source code is generated on Build | Make. If you build externally, IDEA GUI forms can be compiled from Ant (javac2 task provided with IDEA) or Maven.

like image 133
CrazyCoder Avatar answered Sep 22 '22 05:09

CrazyCoder