I have to create a table component having features like * scrolling list of different items like Colors and text. * Names of the columns are displayed as headers. * Functionality of sorting the table, multiple-selection, add a col/row,... etc etc * The Table uses a TableModel for Data storage . I have created a scrollpane for details i.e. row/col and another scrollpane for header line. when the table is scrolled horizontally the header and coloumn data are not getting aligned properly as the scrolling is not happening as reqd. The scrollbars of the scrollpane below is not going to its maximum. Do you think of any other logic for doing the same. Its very very urgent!!!