class fill table made in DAO class

Asked

Viewed 131 times

1

Guys, I’m a little tied up and I’d appreciate your help.

The project works, inserts users into the database, but I would like to do a jtable to display the entered data;

Here the complete project(I’m having trouble posting here https://www.sendspace.com/file/awfigd

 SQL:

    create database projetojava; 
    use projetojava;
    CREATE TABLE usuario ( 
    id BIGINT(10) AUTO_INCREMENT, 
    nome VARCHAR(255), 
    cpf VARCHAR(255), 
    email VARCHAR(255),
    telefone VARCHAR(255), 
    PRIMARY KEY (id) );

    select * from usuario;

    Pacote DAO (Ao qual pretendo criar um método preencherTabela() )


        package dao;
  • 1

    Do a [tour] to better understand how Stack Overflow works. See also how to create a minimum, complete and verifiable example. Downloading your project to identify the problem and giving an answer is unfeasible for this type of community, apart from which the answer will only serve you, try to make your question relevant to other users also.

  • Your question has serious problems. First, it is very vague and generic, as it asks "make a jtable to display the entered data", and there must be a million different ways to do that. Then, putting the link to download the entire project is not cool. The cool thing is to minimize your problem to make it easier to solve. See about [mcve].

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.