wood burning stoves
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
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: 689

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
Sheriff

Joined: Oct 14, 2005
Posts: 19728
    
  10

SSCCE?
Kaydell Leavitt
Ranch Hand

Joined: Nov 18, 2006
Posts: 689

Thanks for the quick reply.

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

Joined: Oct 14, 2005
Posts: 19728
    
  10

Excellent! (That's one of the expected outcomes of producing the SSCCE.)
 
Have you checked out Aspose?
 
subject: I Can't Make Columns Wider in My JTable
 
It's not a secret anymore!