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 3870

Summary: The prop sheet does not seem to handle default values correctly.
Product: platform Reporter: Jesse Glick <jglick>
Component: -- Other --Assignee: Jesse Glick <jglick>
Status: CLOSED WORKSFORME    
Severity: normal    
Priority: P4    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jesse Glick 1999-09-15 00:34:54 UTC
I.e. if you implement a node property which specifies that it can restore to default, and implement that method like:

public void restoreDefaultValue () {
  setValue ("");
}

(or something like that), and then try to invoke it using either the popup menu on the name, or the Default button on the custom property editor dialog--then the value will correctly be set to the def
ault, however the property sheet does not refresh promptly. For example, the text line may be half-painted. The property may continue to display the old value for a while, until you somehow force it t
o refresh, e.g. by selecting another node and then coming back. Probably it is not firing a property change event, either, which is bad.

[Hanz] May be that it dissappeared?
Comment 1 Marek Grummich 2000-07-25 09:29:59 UTC
Priority is changed to P4 (normal).
Comment 2 Quality Engineering 2003-07-02 14:56:18 UTC
Resolved for 3.4.x or earlier, no new info since then -> verify.
Comment 3 Quality Engineering 2003-07-02 15:13:51 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.