Lots of code for creating grids using JTable and TableModel