public void adjustmentValueChanged (AdjustmentEvent e)
	{
		if (e.getSource() == Vertical)
		{
			switch (e.getAdjustmentType())
			{
				case AdjustmentEvent.UNIT_INCREMENT:
					TD.verticalUp();
					break;
				case AdjustmentEvent.UNIT_DECREMENT:
					TD.verticalDown();
					break;
				case AdjustmentEvent.BLOCK_INCREMENT:
					TD.verticalPageUp();
					break;
				case AdjustmentEvent.BLOCK_DECREMENT:
					TD.verticalPageDown();
					break;
				default:
					int v = Vertical.getValue();
					Vertical.setValue(v);
					TD.setVertical(v);
					return;
			}
			setVerticalScrollbar();
		}
		else if (e.getSource() == Horizontal)
		{
			Horizontal.setValue(TD.setHorizontal(Horizontal.getValue()));
		}
	}