Swing's JTable implements MVC pattern. That is, all the manipulations with data must be done from the model. You can get a model of a table using a getter.