@Override
    	public void actionPerformed(ActionEvent e){
    		JOptionPane userTask = new JOptionPane();
    		former_name = player_name;
    		player_name = JOptionPane.showInputDialog("Enter your name", "Name Yourself");           
            userTask.setVisible(true);
    	}