@Override
	public void actionPerformed(ActionEvent e) {
		String cmd = e.getActionCommand();
		if (cmd.equals("Start")) {
			//cancel.setEnabled(false);
			//refresh.setEnabled(false);
			cancel.setVisible(false);
			refresh.setVisible(false);
			p.bo=true;
		}
		else if (cmd.equals("Cancel")){
			frame.setVisible(false);
			PlayConfigure pc=new PlayConfigure(playerName);
		}
		else if (cmd.equals("Refresh")){	
			frame.setVisible(false);
			init();
		}		
	}