how to resize different columns with different size
hi all,
i am using jtable my problem is that i wans to make all the columns different size how can i do that plz sujjest me .
Thanks in advance.
hi all,
i am using jtable my problem is that i wans to make all the columns different size how can i do that plz sujjest me .
Thanks in advance.
Use something like: jTable.getColumnModel.getColumn(int).setPreferredWidth(int);
So did you ever read the link to the Swing tutorial on "How to Use Tables" you where given way back in April?
If you did then you would know the answer is contained in the tutorial!