@Override
public void draw() {
	// TODO  Auto-generated method stub
	graphics.draw(backgroundImage, 0, 0, window.scale());
	drawTable(5,6,(int)(100*window.scale()),(int)(200*window.scale()),(int)(1200*window.scale()),(int)(600*window.scale()));
	graphics.print("IP",210, 240,3);
	graphics.print("Name", 380, 240,3);
	graphics.setColour(graphics.white);

	for( int i = 0; i < info.size(); i ++){
		BroadcastResponse r = responses.get(i);
		graphics.print(r.responder.getHostAddress() , 120, 320 + i*80,2);
		graphics.print(info.get(i).name , 360, 320 + i*80,2);
	
	}
	
	graphics.line(350, 200, 350, 600);
	if(buttons != null){
		for (lib.ButtonText button : buttons) {
			button.draw();
		}
	}
	
	switch (connection.getStatus()){
	case STATUS_IDLE: break;
	case STATUS_TRAINING:
		graphics.print("Connecting to " + info.get(lobbyIndex).name
				+ "...".substring((int)(2- System.currentTimeMillis()/1000 % 3))
				, 200, 100);
		break;
	case STATUS_ALIVE: break;
	case STATUS_FAILED: break;
	}
}