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?

[371 byte] By [chiggy99a] at [2007-11-26 22:15:48]
# 1
[url= http://java.sun.com/docs/books/tutorial/uiswing/components/table.html]good tutorial on JTable[/url]
suparenoa at 2007-7-10 11:08:26 > top of Java-index,Desktop,Core GUI APIs...