Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to modify JTable cell attributes.

Status
Not open for further replies.

Vadim

Programmer
Feb 5, 2002
75
US
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top