@Override
	public void actionPerformed(ActionEvent e) {
		
		String cmd = e.getActionCommand();
	    if( cmd.equals("Play")) 
	    {
	    	if(nameEnter.getText().length()==0)
	    		 JOptionPane.showMessageDialog(null, "Enter PLayer name!");
	    	else
	    	{
	    		if(singlePlayer.isSelected())
	    		{
	    		 PlayConfigure g=new PlayConfigure(nameEnter.getText());
	    		 frame.setVisible(false);
	    		}
	    		else 
	    		if(multiuplayer.isSelected())
	    		{
	    			JOptionPane.showMessageDialog(null, "Network not connect");
	    		}
	    	}
	    }
	    else 
	    if( cmd.equals("Exit")) 
	    {
	    	System.exit(0);
	    }
	}