vertical.setMinimum(0); vertical.setMaximum(getLineCount()); vertical.setVisibleAmount(visibleLines);
	public void updateScrollBars()	{		if(vertical != null && visibleLines != 0)		{			vertical.setValue(firstLine);			vertical.setBlockIncrement(visibleLines);			vertical.setMinimum(0);			vertical.setMaximum(getLineCount());			vertical.setVisibleAmount(visibleLines);		}		int width = painter.getSize().width;		if(horizontal != null && width != 0)		{			horizontal.setValue(-horizontalOffset);			horizontal.setUnitIncrement(100);			horizontal.setBlockIncrement(width / 2);			horizontal.setMinimum(0);			horizontal.setMaximum(width * 5);			horizontal.setVisibleAmount(width);		}	}