Hi all,
A question for the Swing experts here: I have a JFrame for my server task that uses GridBagLayout. It contains two JTextFields:
When I reduce the size of the frame (by resizing it with the mouse), the lower text field immediately drops to a very small size (this happens already if a reduce the size with only a few pixels):
I fiddled around with the GridBagConstraints, but have yet failed to find the settings that solve the problem. Anyone knows how to do this?
I don't mind that the text field becomes smaller when the frame gets smaller; I just don't want it to jump to zero-size.
Many thanks,
Frans
P.S. this is the code used to build the frame:
[ January 10, 2005: Message edited by: Frans Janssen ]