Help with column resizing
Hi,
Relatively new to java swing...
I have a JTable inside a JScrollPane that gets filled dynamically. What I would like to happen is to set a min column width, and then have each column be large enough to fit its largest cell (by largest cell I mean the cell in the column that has the most data to display). If this is too large for the pane, a scrollbar should come up. Right now I am using
setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
but the column sizes are showing up only as big as the column headers need to be, and then for the other cells in the column i getsome of my data followed by "..." It lets me manually resize the columns so that everything looks OK, but I would rather have it start out this way
Thanks for any tips...

