how can i display the list data to an jtable in the swings!
- by harish0510
we are doing hibernate project,then problem is we want to display the users list from the database to userinterface by jtable concept. so, we are not able to display the data using jtable?
code:
Criteria criteria=session.createCriteria(User.class);//user is pojo class
List studentlist= criteria.list();
System.out.println("records"+studentlist);// we want to display the list data to jtable.