private void bnt0ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_bnt0ActionPerformed
        // TODO add your handling code here:
//        JOptionPane.showMessageDialog(null,evt.paramString());
        if (isBtigual() ){
            setBtigual(false);
            textResult.setText("");
            this.vtmp=0;
            textResult.setText(textResult.getText() + evt.getActionCommand());
            textResult.requestFocusInWindow(); //posicionar cursor
        }else{
            textResult.setText(textResult.getText() + evt.getActionCommand());
            textResult.requestFocusInWindow(); //posicionar cursor
        }
    }
private void bnt0ActionPerformed(java.awt.event.ActionEvent evt) {       
        if (isBtigual() ){
            setBtigual(false);
            textResult.setText("");
            this.vtmp=0;
            textResult.setText(textResult.getText() + evt.getActionCommand());
            textResult.requestFocusInWindow();
        }else{
            textResult.setText(textResult.getText() + evt.getActionCommand());
            textResult.requestFocusInWindow();
        }
    }
private void bnt0actionperformed(java.awt.event.actionevent evt) { if (isbtigual() ){ setbtigual(false); textresult.settext(""); this.vtmp=0; textresult.settext(textresult.gettext() + evt.getactioncommand()); textresult.requestfocusinwindow(); }else{ textresult.settext(textresult.gettext() + evt.getactioncommand()); textresult.requestfocusinwindow(); } }