This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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!
 
Have you checked out Aspose?
 
subject: NX: Programmatically sizing a Column in JTable
 
It's not a secret anymore!