Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

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.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

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.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading