code modification to new JTable