コード例 #1
0
 private void buttonRemoverLocalActionPerformed(
     java.awt.event.ActionEvent evt) { // GEN-FIRST:event_buttonRemoverLocalActionPerformed
   try {
     // TODO add your handling code here:
     fachada.removerLocal(codigo);
     JOptionPane.showMessageDialog(rootPane, "Local Removido com sucesso");
     le.carregarTabelaLocal();
     this.dispose();
   } catch (Exception ex) {
     JOptionPane.showMessageDialog(rootPane, ex.getMessage());
   }
 } // GEN-LAST:event_buttonRemoverLocalActionPerformed
コード例 #2
0
 private void jMenuItem13ActionPerformed(
     java.awt.event.ActionEvent evt) { // GEN-FIRST:event_jMenuItem13ActionPerformed
   // TODO add your handling code here:
   ListarLocal lst = new ListarLocal();
   lst.setVisible(true);
 } // GEN-LAST:event_jMenuItem13ActionPerformed