aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes NX: Programmatically sizing a Column in JTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "NX: Programmatically sizing a Column in JTable" Watch "NX: Programmatically sizing a Column in JTable" New topic
Author

NX: Programmatically sizing a Column in JTable

Xie Ruchang
Ranch Hand

Joined: Dec 25, 2003
Posts: 160
Hi,
Anybody knows how to programmatically change the size of a column of a JTable to fix the longest text in that column?
Thanks
Ken Krebs
Ranch Hand

Joined: Nov 27, 2002
Posts: 451
Frankie,
You can find some ideas in this thread or you can search on jtable and column for a whole lot more.


kktec<br />SCJP, SCWCD, SCJD<br />"What we observe is not nature itself, but nature exposed to our method of questioning." - Werner Heisenberg
Xie Ruchang
Ranch Hand

Joined: Dec 25, 2003
Posts: 160
Thank you very much!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NX: Programmatically sizing a Column in JTable