Rob is right. TableModel, and TreeModel, ListModel etc with it, are non-graphical - they are there for storing the data only. The JTable, JTree, JList etc are what you need to show that data. Check out the Model-View-Controller
pattern; the TableModel is the model, the JTable is the view and your code that updates the model is the controller.