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!

JTable header text alignment

843807Oct 8 2009 — edited Oct 12 2009
Swing allocates big enough empty space on left and right side of the each column name. If the column width is small, I see dots instead of text, but there is enough room to show full text. How can I control JTable header text painting? I would like to align the column name text left and right very close to the column separator. How to do this?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 9 2009
Added on Oct 8 2009
10 comments
925 views