Olá galera…
To com seguinte problema, o botão não exclui do banco, mas não da erro.
try {
// TODO add your handling code here:
conecta.executaSQL("delete from estados where sigla_estado='"+jTextFieldSigla.getText()+"'");
} catch (SQLException ex) {
Logger.getLogger(FrmEstados.class.getName()).log(Level.SEVERE, null, ex);
}
}
Grato.