Point a = new Point(trackRect.x, trackRect.y);
Point a = new Point(trackRect.x, trackRect.y + 1);
  public void paintTrack(Graphics g)  {    Color saved_color = g.getColor();    int width;    int height;    Point a = new Point(trackRect.x, trackRect.y);    Point b = new Point(a);    Point c = new Point(a);    Point d = new Point(a);    if (slider.getOrientation() == JSlider.HORIZONTAL)      {	width = trackRect.width;	height = (thumbRect.height / 4 == 0) ? 1 : thumbRect.height / 4;	a.translate(0, (trackRect.height / 2) - (height / 2));	b.translate(0, (trackRect.height / 2) + (height / 2));	c.translate(trackRect.width, (trackRect.height / 2) + (height / 2));	d.translate(trackRect.width, (trackRect.height / 2) - (height / 2));      }    else      {	width = (thumbRect.width / 4 == 0) ? 1 : thumbRect.width / 4;	height = trackRect.height;	a.translate((trackRect.width / 2) - (width / 2), 0);	b.translate((trackRect.width / 2) - (width / 2), trackRect.height);	c.translate((trackRect.width / 2) + (width / 2), trackRect.height);	d.translate((trackRect.width / 2) + (width / 2), 0);      }    g.setColor(Color.GRAY);    g.fillRect(a.x, a.y, width, height);    g.setColor(getHighlightColor());    g.drawLine(b.x, b.y, c.x, c.y);    g.drawLine(c.x, c.y, d.x, d.y);    g.setColor(getShadowColor());    g.drawLine(b.x, b.y, a.x, a.y);    g.drawLine(a.x, a.y, d.x, d.y);    g.setColor(saved_color);  }