JTableHeader is the Swing component which manages the header of the JTable.
JTableHeader is the Swing component which manages the header of the JTable. It displays the column headers and unlike other rows stays visible on top as the table scrolls vertically in JScrollPane.
JTableHeader also handles resizing, rearrangement and sorting of columns in response to mouse inputs.