} else {
try {
GerenciarDB banco = new GerenciarDB();
if (banco.checkCartaoDB(IDcartao)) {
banco.delCartao(IDcartao);
JanelaInicioAdmin frame = new JanelaInicioAdmin();
frame.setLocationRelativeTo(null);
frame.setVisible(true);
this.dispose();
} else {