private void equalsActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_equalsActionPerformed
        secondNum = (Double.parseDouble(String.valueOf(display.getText())));
        if (plusClick > 0) {
            total = firstNum + secondNum;
            display.setText(String.valueOf(total));
            firstNum = 0;
            secondNum = 0;
            plusClick = 0;
        }


        if (minusClick > 0) {
            total = firstNum - secondNum;
            display.setText(String.valueOf(total));
            firstNum = 0;
            secondNum = 0;
            minusClick = 0;

        }

        if (multiplyClick > 0) {
            total = firstNum * secondNum;
            display.setText(String.valueOf(total));
            firstNum = 0;
            secondNum = 0;
            multiplyClick = 0;

        }

        if (devideClick > 0) {
            total = firstNum / secondNum;
            display.setText(String.valueOf(total));
            firstNum = 0;
            secondNum = 0;
            devideClick = 0;

        }

        // TODO add your handling code here:
    }//GEN-LAST:event_equalsActionPerformed