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 cell ellipsis on left side instead of right

843806Oct 1 2008 — edited Oct 1 2008
When a table cell is too small for the contents, it automatically puts an ellipsis on the right side showing there is more text hidden. This happens even when the cell renderer is horizontally right aligned.

The most important information in the string showing in the cell is on the right end in my case, so I want the ellipsis to show up on the left side such that the right side of the string should always be visible.

How can I accomplish this?

Thank you.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 29 2008
Added on Oct 1 2008
3 comments
732 views