wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes JTable Horizontal Scrolling Probs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable Horizontal Scrolling Probs" Watch "JTable Horizontal Scrolling Probs" New topic

JTable Horizontal Scrolling Probs

Eddie Vanda
Ranch Hand

Joined: Mar 18, 2003
Posts: 281
Hi Ranchers,
I am having problems providing horizontal scrolling to a JTable. I want the client to see the cells in full so I have set a minimum width for each column, but the horizontal scroll bar will not show up, no matter how I size the frame. Any Suggestions?

The nice thing about Standards is that there are so many to choose from!
Jason Steele
Ranch Hand

Joined: Apr 25, 2003
Posts: 100
if you want the horiz. scroll bar to show up...use:

An egg is a chicken's house!
Eddie Vanda
Ranch Hand

Joined: Mar 18, 2003
Posts: 281
Thanks for that, Jason! It now scrolls perfectly in both directions.
I agree. Here's the link: http://aspose.com/file-tools
subject: JTable Horizontal Scrolling Probs
Similar Threads
JTable switching
JRadioButton in JTable
Adding Column Dynamically to JTable
JTable Problem!
Rendering 1+JTable in same JPanel