public final void addSlider(BufferedImage i)
			{
				TButton slider;

				if (i != null)
					slider = new TButton(0, 0, i);
				else
					slider = new TButton(0, 0, 1, 1, "");

				sliders.add(slider);

				if (i == null)
					setSliderImage(sliders.size() - 1, i);

				int sWidth = slider.getWidthI();
				int sHeight = slider.getHeightI();
				double sliderX = isVertical ? getXD() - (sWidth / 2) : getXD() + (getWidthD() / 2) - (sWidth / 2);
				double sliderY = isVertical ? getYD() + (getHeightD() / 2) - (sHeight / 2) : getYD() - (sHeight / 2);
				slider.setLocation(sliderX, sliderY);

				setDimensions(slider.getWidthD(), slider.getHeightD());

				int intWidth = (int) slider.tLabel.font.getStringBounds("0", ((Graphics2D) (new BufferedImage(1, 1, BufferedImage.TYPE_INT_RGB).getGraphics())).getFontRenderContext()).getWidth();
				int labelWidth = Math.max(String.valueOf(sliderMin).length() * intWidth, String.valueOf(sliderMax).length() * intWidth);

				slider.tLabel.setBackgroundColour(Color.WHITE);
				slider.tLabel.setDimensions(labelWidth, 15);
				slider.tLabel.fixedSize = true;

				if (parentComponent != null)
					slider.setParentComponent(parentComponent);
			}