private void drawBody(Graphics g)
		{
			int startOffset = valueToPixel(currentMinValue); 

			if (!showGradient || gimage==null) {
				g.setColor(trackColor);
				g.fill3DRect(0,0,getWidth(),getHeight(),true);
			} else {
				switch (orientation)
				{
					case HORIZONTAL:
						g.drawImage(gimage,-startOffset,0,getTrackSize()-startOffset,getHeight(),
							0,0,gimage.getWidth(null),1,this);
						break;
					case VERTICAL:
						g.drawImage(gimage,0,-startOffset,getWidth(),getTrackSize()-startOffset,
							0,0,1,gimage.getHeight(null),this);
						break;
				}
			}
		}