Reputation: 63
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
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