move JTable specific helper functions to common-gui