posted 18 years ago
Hi,
There has to be a very simple answer to this. I have 4 columns in my JTable and I want them all to start with differing widths. But I want them all to be resizable to any width after startup.
The only way that I have been able to get the columns to start at the desired widths is to use the setMaxWidth() method, but then I can't resize them beyond this width of course. I have tried setPreferredWidth() which allows me to resize columns, but at startup all the columns are evenly spaced which is not what I desire.
Any help would be appreciated.
Cheers, Jared.
SCJP 1.4 91%, SCJP 1.5 88%, SCJD B&S