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 215475 - Java GUI Editor sporadically ignoring non-local modifiers
Summary: Java GUI Editor sporadically ignoring non-local modifiers
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-12 15:50 UTC by fommil
Modified: 2012-07-13 07:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fommil 2012-07-12 15:50:48 UTC
This is with 7.2RC1.

I recently switched my GUI Editor preferences to have local variables. When I need to make a variable visible as a field, I deselect the 'Use Local Variable' just for that variable under the "Code" tab.

However, even though I have 'private' listed as my 'Variable Modifiers', this only seems to be respected on occasion. Specifically, the first time I change a variable from local into field, it appears with 'default' (i.e. package) visibility.

The 'Variable Modifiers' value should always be respected.