aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes JTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable "..."" Watch "JTable "..."" New topic
Author

JTable "..."

jay vas
Ranch Hand

Joined: Aug 30, 2005
Posts: 407
Hi Guys : How do you prevent a JTable from replacing
its contents with the "..." ? I have it in a scroll pane and would like
it to pack the cells intelligently, i.e. expand each column to
fit the text in its largest cell.

Thanks
jay
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
some ideas in this recent thread

http://www.coderanch.com/t/343769/GUI/java/JTable-width-height
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JTable "..."