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.
CodePudding user response:
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.