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.

Bug 258132

Summary: Fully Qualified Class Names being generated with 'Generate Fully Qualified Name of Classes' option disabled
Product: java Reporter: samuelss1996
Component: SourceAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal CC: sdedic
Priority: P4    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Screen capture showing the bug

Description samuelss1996 2016-02-24 11:04:56 UTC
Created attachment 158631 [details]
Screen capture showing the bug

If you disable the 'Generate Fully Qualified Name of Classes' option in the GUI Builder settings, when you add a new component fully qualified names are not used, that's right.

However, auto-generated code (generated when you create the class), still uses FQ names of classes (i.e after extends, see picture).
Comment 1 Svata Dedic 2016-07-28 10:06:10 UTC
Not a gui builder issue. The file template for JFrame panel contains FQNs. They could be eventually changed, depending on java formatting options - a more general issue than just the code builder.

Template contents can be changed as a quick workaround.

The GUI builder's options are primarily meant to affect the code generated in the uneditable areas of the form which cannot be altered in another way.