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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

JTable - right align in cell even if the text is wider than the cell

843804Jun 9 2005 — edited Jun 10 2005
Hello!

I want to display text in cells right aligned. When the size of the cell is smaller than the text, the text will be automatically left aligned. E.g:

e.g. text is abcdefgh

|abcd...|

i am interested in right alignment even if the size of the text is bigger than the cell it contains, because the relevant information stands on the right hand side of every entry.
E.g:

|...fgh|

or something like that.

thnx!

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jul 8 2005
Added on Jun 9 2005
4 comments
1,951 views