sizing JTable columns
Hello
I have a couple of tables with two columns, and I want to make one column about 80% of the width, and the other the rest. I can currently do this through the UI, but I can't figure out a way to have it come up that way automaticaly. One thing I was thinking of was to get a TableColumn and then SetPreferedSize, but when I look at my table the identifier for both columns is set to null so I don't know what to feed the table's GetTableColumn. And I am not sure where I'm suposed to set the identifier. The Table is made from a TableModel. Any suggestions? Or am I going about it in the wrong way and maybe need to do something with layouts maybe? Thanks.

