set default width of columns in JTable
i have a JTable which has multiple columns.
the rows dont fit into the JTAble normally so i needed to add a horizontal scroll pane which was done by
table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
the problem now is that the columns are squashed into table,
i want to be able to set the width of the columns, is there anyway of doing this?

