public final void setSliderPercent(int sliderIndex, double sliderPercent)
			{
				// Check sliderIndex is within array bounds,
				// if not create exception.
				if (sliderIndex < 0 || sliderIndex >= sliders.size())
					{
						Tools.errorWindow(new IndexOutOfBoundsException(
								"The index you passed into the 'getSliderPercent()' method is out of the bounds of the array! you passed in: " + sliderIndex
										+ ". The range is from 0 to " + (sliders.size() - 1)), "Exception thrown in TSlder Class");
					}

				if (sliderPercent < 0)
					sliderPercent = 0;
				else if (sliderPercent > 100)
					sliderPercent = 100;

				if (orientation == VERTICAL)
					sliders.get(sliderIndex).setY(((length - 25f) * (sliderPercent / 100f)) + y);
				else if (orientation == HORIZONTAL)
					sliders.get(sliderIndex).setX(((length - 25f) * (sliderPercent / 100f)) + x);

				sendTScrollEvent(new TScrollEvent(this, TScrollEvent.TSCROLLBARSCROLLED, getSliderPercent(sliderIndex), sliderIndex));
			}