I've got a JTable, with one of the columns set up to have a renderer that puts in a JLabel. The string is right justified within the label; this is what I want. The problem is when the width of the column is smaller than the length of the string, then the string appears left justified with the continuation dots on the right. I want the continuation dots on the left and to see the tail end of the string. Any ideas on how to fix this? Do I have to create my own label paint method? or is there something easier to do?
posted 15 years ago
I am moving this to the swing forum.
"JavaRanch, where the deer and the Certified play" - David O'Meara