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 4905 - Changing properties on FormEditor-declared variables causes SourceException
Summary: Changing properties on FormEditor-declared variables causes SourceException
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-12-08 23:08 UTC by Svata Dedic
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Svata Dedic 1999-12-08 23:08:55 UTC
1. Select any class variable that has been declared by FormEditor.
2. Modify Name, Modifier or Type property. Exception occurs (maybe more than one)


Suggestion: the properties should be displayed as read-only.

[Svata] in build 459, the property retains the old value and does not display any error message (Attempt to edit guarded block r.g.). This could be very confusing.
Comment 1 Svata Dedic 2000-08-17 08:12:59 UTC
Currently, the code element can not tell the node that it is read-only or the
permitted operations, so the appearance of properties can't be adjusted
accordingly.
The current IDE versions display a message that informs the user that a guarded
block is being modified which is just fine for now.
Comment 2 Tomas Pavek 2002-01-10 15:12:29 UTC
Þ
Comment 3 Tomas Pavek 2002-01-10 15:15:16 UTC
An old report (was RESOLVED LATER). This is rather a java module 
issue (to recognize the variables in guarded block). Similar to issue 
9512, see also issue 19114.
Comment 4 Martin Matula 2004-11-15 14:43:42 UTC
The properties are not editable anymore for objects from guarded block.