Controlling the size of a text field...

From: alan (alanbrown_at_pacbell.net)
Date: 12/29/03


Date: 29 Dec 2003 09:50:59 -0800

I'm using a 3x2 grid layout in a JPanel. The left column are labels
and the right columns are JTextFields. These text fields contain
values that are only a few chars long (numbers generally). My problem
is that the text fields are filling up the whole block on the grid but
I'd like them to be of a fixed size, so they won't change if the
window is resized.

Is there a simple way of doing this? Or, failing that, a complicated
way...

thanks for your help.

alan