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 33982 - Color of noneditable text in the PS
Summary: Color of noneditable text in the PS
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: _ tboudreau
Depends on:
Blocks: 33815
  Show dependency tree
Reported: 2003-05-28 19:33 UTC by dpavlica
Modified: 2008-12-22 16:03 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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.