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 158324 - Form saved with private variable modifier when using Type Parameters GUI component
Summary: Form saved with private variable modifier when using Type Parameters GUI comp...
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-10 16:21 UTC by ludom
Modified: 2009-02-27 11:02 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 ludom 2009-02-10 16:21:32 UTC
Although I have set the form variable modifier to protected, GUI component with not null Type Parameters are still saved
with private visibility.

Steps to reproduce :
* Create a new form 
* Select protedted as the form variable modifier
* Put a JTextField and a JLabel on form
* For Jlabel, enter a value into Code > Type parameters
* Save form and close it
* Reopen form and resize for example the JTextField
* When the form is saved, JLabel has private visibility instead of protected
Comment 1 Jan Stola 2009-02-27 10:48:37 UTC
Reproducible and probably annoying.
Comment 2 Jan Stola 2009-02-27 11:02:34 UTC
Fixed.

Modified file: http://hg.netbeans.org/main/rev/4ee038e284cf