Controlling the size of a text field...
From: alan (alanbrown_at_pacbell.net)
Date: 12/29/03
- Next message: Flubbber: "Re: How to draw strings around a circle"
- Previous message: Laird Nelson: "Re: Pedantic Swing threading question"
- Next in thread: Lee Weiner: "Re: Controlling the size of a text field..."
- Reply: Lee Weiner: "Re: Controlling the size of a text field..."
- Reply: Karsten Lentzsch: "Re: Controlling the size of a text field..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Flubbber: "Re: How to draw strings around a circle"
- Previous message: Laird Nelson: "Re: Pedantic Swing threading question"
- Next in thread: Lee Weiner: "Re: Controlling the size of a text field..."
- Reply: Lee Weiner: "Re: Controlling the size of a text field..."
- Reply: Karsten Lentzsch: "Re: Controlling the size of a text field..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]