title is quite explanatory.
i got JTable wider than screen so there is horizontal scrollbar.
when i start app and try to resize column (via grabing table header) and resize it its cooperating.
when i move scrollbar and i try to resize some column, scrollbar jumps at the starting position - so i cant resize it since immediately as i try its moves scrollbar to total left when it is when i start an app.
i have no idea what could be wrong and where should i look to fix it.
i set resizability via:
TableColumn column = null;
for (int i = 0; i < table.getColumnCount(); i++) {
column = table.getColumnModel().getColumn(i);
column.setResizable(true);
...
then later in code there is scrolling added
table_scroll_pane.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
table_scroll_pane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);