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 - The prop sheet does not seem to handle default values correctly.
Summary: The prop sheet does not seem to handle default values correctly.
Status: CLOSED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-09-15 00:34 UTC by Jesse Glick
Modified: 2008-12-23 11:51 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 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.