Two Laptop Bag*
The moose likes Swing / AWT / SWT and the fly likes I Can't Make Columns Wider in My JTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "I Can Watch "I Can New topic
Author

I Can't Make Columns Wider in My JTable

Kaydell Leavitt
Ranch Hand

Joined: Nov 18, 2006
Posts: 688

Hello,

I have a JTable in which I can't widen or narrow the column widths. It works except that when I quit my application and start it up again, I can narrow columns but I can't make them wider.

I am using Java 6.

Thanks

-- Kaydell
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

SSCCE?
Kaydell Leavitt
Ranch Hand

Joined: Nov 18, 2006
Posts: 688

Thanks for the quick reply.

While I was making a small example of my code, I figured it out.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Excellent! (That's one of the expected outcomes of producing the SSCCE.)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: I Can't Make Columns Wider in My JTable
 
Similar Threads
Customizing JTable
JTable
JTable column width
JTable
JTable