//posicionar cursor
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
        }
    }
this.vtmp=0;
textResult.setText(textResult.getText() + evt.getActionCommand());
textResult.requestFocusInWindow(); //posicionar cursor
}else{
textResult.setText(textResult.getText() + evt.getActionCommand());
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) {//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
}
}