Windowbuilder creates constraint object with default prefix gbc_xxx
. This naming convention violates some rules for code analyzing applications and also triggers my OCD. Is there any way to change defaults for Windowbuilder generated code?
Windowbuilder creates constraint object with default prefix gbc_xxx
. This naming convention violates some rules for code analyzing applications and also triggers my OCD. Is there any way to change defaults for Windowbuilder generated code?
- 2 Did you try [Eclipse] preferences? – Abra Commented 2 days ago
- I searched with "windowbuilder" so couldn't see the subsettings. Thanks. – Emre dağıstan Commented 2 days ago
1 Answer
Reset to default 0Thanks to @Abra in the comment section,
Go to Preferences>WindowBuilder>Swing>Layouts>GridBagLayout
Change "Create variable for GridBagConstraints using pattern:" setting whatever you need.
There are also patterns for layouts in the Layouts section