Exemple #1
0
  private void jBFecharActionPerformed(
      java.awt.event.ActionEvent evt) { // GEN-FIRST:event_jBFecharActionPerformed

    timerTelaExclusao.stop();
    timer.start();
    this.setVisible(false);
    atualizar.doClick();
  } // GEN-LAST:event_jBFecharActionPerformed
Exemple #2
0
  private void jBFecharKeyTyped(java.awt.event.KeyEvent evt) { // GEN-FIRST:event_jBFecharKeyTyped

    if (evt.getKeyChar() == KeyEvent.VK_ENTER) {
      if (evt.getSource() == jBFechar) {
        timerTelaExclusao.stop();
        timer.start();
        this.setVisible(false);
        atualizar.doClick();
      }
    }
  } // GEN-LAST:event_jBFecharKeyTyped