I have a series of JTextField's that are constructed to a fixed size (20) and are placed on a JDialg. Next, I set the text in each of these text fields to strings that can be virtually any length.
The problem occurs when the text is too long for the space in the text field. Let's say the string is 'startEnd'. I might see [tEnd] when I'd prefer to see[star].