RendererPanel has a preferred size set that is updated, it has CellRendererPane which paints the extra JTable to extra space.
getHeaderViewFiller() is where you get the header view for JScrollPane.
I have a table that has visible row count, rows that dont exist in model, etc. Here I tried to do short and working example for JTable.
PROBLEM is that when I resize the column to right of actual table and if JScrollPane has defaults in ScrollBarPolicy (AS_NEEDED),
then horizontal scroll bar is FLICKERING... how to remove this behaviour or is this good at all ???
Will I set ScrollBarPolicies temporarely when resizing and table's width is less than preferredScrollableViewportSize.width
Try it, many thanks :)
Legend has it that if you rub the right tiny ad, a genie comes out.