private void equalsActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_equalsActionPerformed
        boolean mistake = false;
        try {
            operationManager(previousAction);
        } catch (DivisionByZeroException exception) {
            previousAction = startAction;
            text.setText("");
            mistake = true;
        }
        if (!mistake) {
            previousAction = startAction;
            printer(memory);
            clearScreen = true;
        }
    }//GEN-LAST:event_equalsActionPerformed