Hi Daman!
I've found two errors in your code. You wrote both times
but to correct this isn't the solution to your problem.
First remove the columnWidth and fireTableChanged methods out of your table model class 'CoreReturnTableModel', you don't need to do so.
I did a mistake when telling you to use the setWidth() method for sizing the table's columns, sorry!
To correct this replace the setWidth() method calls by setPreferredWidth() method calls in your dialog's method 'getScrollPaneTable()'. It should work then.
Please note that the min width of the table columns is 15. So if you like to set the width to a smaller value, as you did, please take a look at another thread of the swing forum here at javaranch:
http://www.javaranch.com/ubb/Forum2/HTML/002780.html There I described the procedure.
Good luck
Tom
[This message has been edited by Thomas Suer (edited November 09, 2001).]