public void resizeTableColumn(TableColumn[] treeColumns) { for (TableColumn tc : treeColumns) tc.pack(); }
在setinput后用,其实就是调用的pack方法。