private void addButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_addButtonActionPerformed
        try {
            Player p = Player.addPlayer(inputField.getText());
            String temp = p.summaryMini() + "\n"
                             + "   is not being tracked!\n"
                             + " Their games will be automatically retrieved.";
            new Exclamation(temp).setVisible(true);
            dispose();
        } catch (Exception e){
            if(e instanceof NullPointerException){
                //TODO make a single Exclamation window with a variable message
                new Exclamation("Please enter a summoner name").setVisible(true);
            }
            else{
                new Exclamation(inputField.getText() + " does not exist!").setVisible(true);
            }
        }
    }//GEN-LAST:event_addButtonActionPerformed