How to set a custom object in a JTable row
Instead of splitting the User object up before you create the model, add it directly to the model and allow the model to do the work for you… For example public class VstTableItemModel extends AbstractTableModel { private List<User> users; public VstTableItemModel(List<User> users) { this.users = new ArrayList<User>(users); } @Override public int getRowCount() { return users.size(); … Read more