I'm making a panel with the UI designer. It has a column of labels and a column of text fields. I want the text fields left-aligned with each other, and spaced the preferred distance from the longest label. The problem is that I don't know which label will be the longest, since they'll be internationalized.

How do I achieve this?

Java Code:
xxxx    [        ]
xxxxxxx [        ]
xxx     [        ]
xxxxx   [        ]