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 72235 - Take Explorer decoration colors from UIManager
Summary: Take Explorer decoration colors from UIManager
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@versioncontrol
Depends on:
Reported: 2006-02-03 18:36 UTC by _ tboudreau
Modified: 2007-01-04 17:14 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2006-02-03 18:36:04 UTC
I saw Maros's post about the line switches - but there's a way you can 
actually do this in a L&F friendly way (a customizer probably isn't the answer 

org.openide.awt.HtmlRenderer supports a small extension to the standard html 
color spec - you can refer to UIManager key-value pairs by prepending ! - i.e. 
<font color="!controlShadow"> means the UIManager color for controlShadow will 
be used.

So simply define your UIManager keys and values in core/swing/plaf (Dafe or I 
can show you where) - and then if they need to be customized for a specific 
look and feel, they can, and look and feels like the Substance plugin can 
install whatever they want.