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 - Fully Qualified Class Names being generated with 'Generate Fully Qualified Name of Classes' option disabled
Summary: Fully Qualified Class Names being generated with 'Generate Fully Qualified Na...
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 8.1
Hardware: All All
: P4 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-24 11:04 UTC by samuelss1996
Modified: 2016-07-28 10:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screen capture showing the bug (22.94 KB, image/png)
2016-02-24 11:04 UTC, samuelss1996
Details

Note You need to log in before you can comment on or make changes to this 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.