This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | GUI field "name" property in GUIBuilder initializes as empty and does not change with 'Rename Field" option until manually set to anything | ||
---|---|---|---|
Product: | guibuilder | Reporter: | andrzejo |
Component: | Code | Assignee: | issues@guibuilder <issues> |
Status: | RESOLVED INVALID | ||
Severity: | normal | Keywords: | USABILITY |
Priority: | P4 | ||
Version: | 8.0 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
andrzejo
2014-06-04 11:30:10 UTC
Just curious, why do you need the 'name' property be set? Usually people don't need it, so having it set by default would mean additional code generated that most people would not want. So we can't do this. But you can get the behavior by turning on the 'Set Component Names' setting, either for a particular GUI form, or in the global GUI Builder options. To set it for a particular form just open the form and select its root node in the Navigator, then see the property in the Properties window. If you set it in the global options then it will set the per-form setting for each newly created form (won't affect existing forms). |