I created a table based on DefaultTableModel. I want to know, how to changed column width?
Now, all of them same, and I should changed it manualy on the screen.
Also, how to create column name consists of 2 lines? I tried "Retail \n Price" - it didn't work.
Now, all of them same, and I should changed it manualy on the screen.
Also, how to create column name consists of 2 lines? I tried "Retail \n Price" - it didn't work.