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.
*/
package org.netbeans.swing.laf.dark;
import java.awt.Color;
import javax.swing.UIDefaults;
import javax.swing.plaf.nimbus.NimbusLookAndFeel;
import org.openide.util.NbBundle;
super.initialize();
DarkNimbusTheme.install( this );
}
@Override
public Color getDerivedColor(String uiDefaultParentName, float hOffset, float sOffset, float bOffset, int aOffset, boolean uiResource) {
float brightness = bOffset;
if ((bOffset == -0.34509805f) && "nimbusBlueGrey".equals(uiDefaultParentName)) { //NOI18N
//Match only for TreeHandle Color in Nimbus, workaround for #231953
brightness = -bOffset;
return super.getDerivedColor(uiDefaultParentName, hOffset, sOffset, brightness, aOffset, uiResource);