E
electric sheep
Hi,
i would like to have a JFrame that cannot be resized below a certain
minimum value which i set.
Is this a window, component, or layout manager issue ?
It seems like most layout managers i use allow me to size my window down
as small as i like ... which causes all my components to "act crazy".
It seems like setting the preferredSize doesn't really matter.
I can size my app all the way down to just the titlebar if i like.
Do i need to extend Window or Component or JFrame maybe ? and override some sort
of resize method ?
I can't figure out what method is called on what object when somebody
resizes a JFrame.
My guess is that the layout manager only controls the layout INSIDE the
container (the content pane, say) ... but it cannot prevent the
container from being resized below a certain threshold.
Anyhow, any thoughts on this ?
Also, my friend told me if your a control freak you should probably be
using GridBadLayout. Is this true ?
How about this new SpringLayout ?
Anybody know any really good open source layout managers available on the web?
i would like to have a JFrame that cannot be resized below a certain
minimum value which i set.
Is this a window, component, or layout manager issue ?
It seems like most layout managers i use allow me to size my window down
as small as i like ... which causes all my components to "act crazy".
It seems like setting the preferredSize doesn't really matter.
I can size my app all the way down to just the titlebar if i like.
Do i need to extend Window or Component or JFrame maybe ? and override some sort
of resize method ?
I can't figure out what method is called on what object when somebody
resizes a JFrame.
My guess is that the layout manager only controls the layout INSIDE the
container (the content pane, say) ... but it cannot prevent the
container from being resized below a certain threshold.
Anyhow, any thoughts on this ?
Also, my friend told me if your a control freak you should probably be
using GridBadLayout. Is this true ?
How about this new SpringLayout ?
Anybody know any really good open source layout managers available on the web?