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.
|Summary:||Color of noneditable text in the PS|
|Component:||Explorer||Assignee:||_ tboudreau <tboudreau>|
|Issue Type:||TASK||Exception Reporter:|
|Bug Depends on:|
Description dpavlica 2003-05-28 19:33:30 UTC
There is a problem with a text in noneditable rows. Noneditable text should be gray in the second column of PS, but in the Form editor it's black sometimes (e.g. PropertychangeListeners value or TopLevelAncestors value). And left text color could be black maybe?...because it's name of property (it means label, not value).
Comment 1 _ tboudreau 2003-05-29 02:04:46 UTC
Comment 2 _ tboudreau 2003-05-29 02:27:06 UTC
Note that there are two cases where I can do nothing about the value color: 1. Property editors which do their own painting. I set the initial foreground and background properties appropriately, but there is nothing to stop a property editor that paints itself painting text in whatever color it wants. 2. Legacy EnhancedPropertyEditors. This is a deprecated class which allowed property editors to provide their own component for editing. They also get to do whatever they want (but I do log a warning if one is used and suggest they update their code). An example of this is the form editor's editor for methods. I've filed an issue for them to upgrade it (the editor could actually be much less complex). I cannot set the UI on this combo box to be the clean looking one used in the property sheet, because that will delete the generated method name.