M
Mike Ditka
I'm adding several JButtons to a JPanel with a horizontal FlowLayout, then
adding a JTextField. I want the JTextField to take up all the space in the
JPanel not used by the JButtons. If the window is resized so that the panel
gets longer or shorter, I want the JTextField to be adjusted accordingly.
How can I build a horizontal panel with buttons and a text field at the end,
so that the text field takes up the remainder of the panel?
Thanks,
Mike
adding a JTextField. I want the JTextField to take up all the space in the
JPanel not used by the JButtons. If the window is resized so that the panel
gets longer or shorter, I want the JTextField to be adjusted accordingly.
How can I build a horizontal panel with buttons and a text field at the end,
so that the text field takes up the remainder of the panel?
Thanks,
Mike