Article View: borland.public.jbuilder.java.swing
Article #9091Re: window resizing
From: John P. McGrath
Date: Tue, 23 May 2000 00:00
Date: Tue, 23 May 2000 00:00
19 lines
1021 bytes
1021 bytes
On Tue, 23 May 2000 10:22:01 -0400, Jacob Grun wrote:
> When I resize the main window of my GUI the items within it do not resize to
> maintain their relative positions within the window. Can someone tell me
> how to fix that?
Use a LayoutManager (other than XYLayout).
Here are a few links that you can use to learn about LayoutManagers:
http://java.sun.com/docs/books/tutorial/uiswing/layout/index.html
http://developer.java.sun.com/developer/onlineTraining/GUI/
AWTLayoutMgr/index.html
--
John P. McGrath
<JPMcGrath@fast.net>
<jpm@nscs.fast.net>
Technical Details
Message-ID:
<MPG.13950d13a32ae063989949@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<392a9274@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,1cf2ce7d0619afc1 X-Google-Attributes: gid111d45,public From: John P. McGrath <JPMcGrath@fast.net> Subject: Re: window resizing Date: 2000/05/23 Message-ID: <MPG.13950d13a32ae063989949@forums.borland.com> X-Deja-AN: 626561731 References: <392a9274@dnews> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing