olá, gostaria de saber como faço pra saber se a tabela tem registro ou naum. eu tentei o tabela.isBeforeFirst, mas num tá dando. ólha o codigo:
    public boolean TemRegistro() {
        try {
            if (tblClientes.isBeforeFirst==true) {
                return false;
             } else {
                return true;
             }
        } catch (Exception ex) {
            System.out.println("Erro ao verificar tabela");
            System.out.println(ex.toString());
            System.exit(0);
            return false;
        }
    }
bom se tiver algum errindo de sintaxe é q eu escrevi isso ae agora. Aqui num funciona. Ele diz que tem registro na tabela msm qdo tá vazia.
acho q estou cometendo um erro tonto, mas se puderem me ajudar, brigadão.
valew