@Override
	public void paint(Graphics gr)
	{
		initDraw(gr);
		
		switch(serverMode)
		{
			case graphic:
				setGraphicMode();
				DrawGraphicMode(gr);
				break;
			case text:
				setTextMode();
				DrawTextMode(gr);
				break;
		default:
			break;
		}
	}