private void connectActionPerformed(ActionEvent evt) {
		String name = JOptionPane.showInputDialog(this,"Player Name?");
		String ip = JOptionPane.showInputDialog(this,"IP Address of Server?");
		if(name==null || name.equals(""))
			JOptionPane.showMessageDialog(this, "Player name can't be empty", "Error", JOptionPane.ERROR_MESSAGE);
		else{
			cc.setName(name);
			con = new ClientConnect(ip,30568, this);
			con.start();
		}
	}