I have a JTable with 3 columns:
- No. # - Name - PhoneNumber
I want to make specific width for each column as follows:
Use the addRow(...) method of the DefaultTableModel to add data to the table dynamically.
Update:
To adjust the width of a visible column I think you need to use:
tableColumn.setWidth(...);