theowl-0011
theowl-0011

Reputation: 63

IntelliJ GUI Designer component properties to bound class?

Is there a way to generate a code from the component's properties in the GUI designer to the bound class?

Let's say I modified the margins of JPanel, I wanted it to generate that line of code in the bound class.

Upvotes: 1

Views: 265

Answers (1)

CrazyCoder
CrazyCoder

Reputation: 401945

Settings (Preferences on macOS) | Editor | GUI Designer | Generate GUI into: Java source code.

Rebuild the project, all the custom properties you set will appear in the bound .java file.

Upvotes: 1

Related Questions