private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
        // TODO add your handling code here:
        n1 = Double.parseDouble(txt1.getText());
        n2 = Double.parseDouble(txt2.getText());
        
        if(n1 == n2) {
            JOptionPane.showMessageDialog(null, "Soma: " +(n1+n2));
        } else if(n1 > n2) {
            if(n2 == 5) {
                JOptionPane.showMessageDialog(null, "Divisão: " +(n1/n2));
            } else {
            JOptionPane.showMessageDialog(null, "Subtração: " +(n1-n2));
            }
        } else if(n1 < n2) {
            JOptionPane.showMessageDialog(null, "Multiplicação: " +(n1*n2));
        } 
       
        
    }//GEN-LAST:event_jButton1ActionPerformed