GridBagLayout
Hi all,
i create some Frame.
in this frame i set a GridBagLayout.
i insert a tree and also a list.
and it looks fine.
but when i resize the frame the list are moving too.
how can i prevent this move and keep it in the same place even the fame is resize?
Thanks In Advance
Gabi
[331 byte] By [
Gabia] at [2007-11-27 8:23:37]

# 1
Dear Gabi,
> i insert a tree and also a list. and it looks fine.
Now we know exactly how your application looks like! ;-)
>but when i resize the frame the list are (is?) moving too.
Where? How?
Try a setPreferredSize(...) and setMaximumSize(...) for your components. If this doesn't help send us a [url http://homepage1.nifty.com/algafield/sscce.html]Short, Self Contained, Compilable and Executable, Example Program[/url]
Regards
J鰎g