@Override
  public void install(Component component) {
    super.install(component);

    ScrollBar scrollBar = (ScrollBar) component;
    scrollBar.getScrollBarListeners().add(this);
    scrollBar.getScrollBarValueListeners().add(this);

    scrollBar.add(scrollUpButton);
    scrollBar.add(scrollDownButton);
    scrollBar.add(handle);

    TerraTheme theme = (TerraTheme) Theme.getTheme();

    Color backgroundColor = theme.getColor(9);
    Color brightBackgroundColor = TerraTheme.brighten(backgroundColor);

    GradientPaint backgroundPaint;
    if (scrollBar.getOrientation() == Orientation.HORIZONTAL) {
      backgroundPaint =
          new GradientPaint(0, 1, backgroundColor, 0, DEFAULT_THICKNESS - 2, brightBackgroundColor);
    } else {
      backgroundPaint =
          new GradientPaint(1, 0, backgroundColor, DEFAULT_THICKNESS - 2, 0, brightBackgroundColor);
    }

    setBackgroundPaint(backgroundPaint);

    enabledChanged(scrollBar);
  }