BasicGraphicsUtils.drawEtchedRect(g, trackRect.x, trackRect.y + (trackRect.height - getTrackWidth()) / 2, trackRect.width - 1, getTrackWidth(), Color.darkGray, Color.gray, Color.darkGray, Color.white);
  public void paintTrack(Graphics g)  {    if (slider.getOrientation() == JSlider.HORIZONTAL)    {      if (filledSlider)       {        // TODO: fill the track      }      BasicGraphicsUtils.drawEtchedRect(g, trackRect.x, trackRect.y           + (trackRect.height - getTrackWidth()) / 2, trackRect.width - 1,           getTrackWidth(), Color.darkGray, Color.gray, Color.darkGray,           Color.white);    }    else    {      if (filledSlider)       {        // TODO: fill the track      }      BasicGraphicsUtils.drawEtchedRect(g, trackRect.x  + (trackRect.width           - getTrackWidth()) / 2, trackRect.y, getTrackWidth(),           trackRect.height - 1, Color.darkGray, Color.gray, Color.darkGray,           Color.white);    }  }