UIDefaults defaults = UIManager.getLookAndFeelDefaults();  trackColor = defaults.getColor("ScrollBar.track"); trackHighlightColor = defaults.getColor("ScrollBar.trackHighlight"); thumbColor = defaults.getColor("ScrollBar.thumb"); thumbHighlightColor = defaults.getColor("ScrollBar.thumbHighlight"); thumbDarkShadowColor = defaults.getColor("ScrollBar.thumbDarkShadow"); thumbLightShadowColor = defaults.getColor("ScrollBar.thumbShadow");
trackColor = UIManager.getColor("ScrollBar.track"); trackHighlightColor = UIManager.getColor("ScrollBar.trackHighlight"); thumbColor = UIManager.getColor("ScrollBar.thumb"); thumbHighlightColor = UIManager.getColor("ScrollBar.thumbHighlight"); thumbDarkShadowColor = UIManager.getColor("ScrollBar.thumbDarkShadow"); thumbLightShadowColor = UIManager.getColor("ScrollBar.thumbShadow");
  protected void configureScrollBarColors()  {    UIDefaults defaults = UIManager.getLookAndFeelDefaults();    trackColor = defaults.getColor("ScrollBar.track");    trackHighlightColor = defaults.getColor("ScrollBar.trackHighlight");    thumbColor = defaults.getColor("ScrollBar.thumb");    thumbHighlightColor = defaults.getColor("ScrollBar.thumbHighlight");    thumbDarkShadowColor = defaults.getColor("ScrollBar.thumbDarkShadow");    thumbLightShadowColor = defaults.getColor("ScrollBar.thumbShadow");  }