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.
Product Version = NetBeans IDE 8.0.2 (Build 201411181905) Operating System = Linux version 4.1.3-040103-generic running on amd64 Java; VM; Vendor = 1.8.0_45 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.45-b02 Netbeans shows components created with custom code with "<User Code>", which defeats the reason to use the GUI Builder. To reproduce: Open the GUI editor and crate a Panel Add a label to it Define in source code: final static String LABEL_TEXT = "This should be the text!"; Set the text to LABEL_TEXT, The displayed text is "<User Code>" If "Custom Creation" in selected in "Customize Code.." and a method call is added, the GUI Builder does not even shown "<User Code>". If many components in the form get their values from, for example, static final variables, the forms are cluttered with "<User Code>" everywhere, which makes the GUI Builder useless.
This is by design. The GUI builder cannot parse/execute the user code.