question: public void addTableHeader ( final JTableHeader newTableHeader ) { if ( ! _registredTableHeaders . contains ( newTableHeader ) ) { if ( _tableHeader == null ) { _tableHeader = newTableHeader ; } newTableHeader . addMouseListener ( _mouseListener ) ; newTableHeader . setDefaultRenderer ( new SortableHeaderRenderer ( newTableHeader . getDefaultRenderer ( ) ) ) ; _registredTableHeaders . add ( newTableHeader ) ; } }
target:  For more than one table use this method to register the table header's.