// Private methods. ///////////////////////////////////////////////////////////////////////////
private void createAndInstallBackgroundPainter() {
Painter<Component> focusedPainter =
new GradientPainter(
MacColorUtils.OS_X_BOTTOM_BAR_ACTIVE_TOP_COLOR,
MacColorUtils.OS_X_BOTTOM_BAR_ACTIVE_BOTTOM_COLOR);
Painter<Component> unfocusedPainter =
new GradientPainter(
MacColorUtils.OS_X_BOTTOM_BAR_INACTIVE_TOP_COLOR,
MacColorUtils.OS_X_BOTTOM_BAR_INACTIVE_BOTTOM_COLOR);
Painter<Component> painter = new FocusStatePainter(focusedPainter, focusedPainter,
unfocusedPainter);
fBottomBar.setBackgroundPainter(painter);