The return of that method determines how many rows will be displayed. You will need to return something other than 0.
If you want to be able to add data, an Object is a bad idea. A List<Object> will be a better idea; it will allow you to add rows (being Object instances). Also, use the fireXXX methods of AbstractTableModel after something has changed in your model, or you won't see the changes.