@Override
	public void preform(int source) {
		if(source == 0) {
			openNewGui(References.GUI_LOBBY);
		}else if(source == 1) {
			Object ip = JOptionPane.showInputDialog("Set IP address to join.");
			if(ip != null && ip instanceof String) {
				Rocket.getRocket().properties.IP = (String) ip;
			}
		}else if(source == 2) {
			closeGui(this);
		}
	}