Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How can I hide the horizontal scroll bar in TableView?

zmircApr 15 2012 — edited Apr 19 2013
Hi, guys!

Here is my problem: when a TableView has more rows than its height supports, a vertical scroll bar apperas. The appearance of this uses 11px of table's width, causing the appearance of the horizontal scroll bar.

Possible, but not wanted, solution: increase table width by 11px, but this causes the appearance of a new column of 11px width (without name, of course).

Here is my question: is there any method that hides the horizontal scroll bar in a TableView?

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 17 2013
Added on Apr 15 2012
5 comments
20,412 views