private void txtLocalizarKeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_txtLocalizarKeyPressed
    if (evt.getKeyCode() == KeyEvent.VK_ESCAPE) {
        ContasReceberContratos.this.dispose();
    }
}