File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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.

Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
some ideas in this recent thread
I agree. Here's the link:
subject: JTable "..."
It's not a secret anymore!