Article View: borland.public.jbuilder.java.api
Article #2908Re: Which *swing* layout should I use?
From: guy
Date: Thu, 10 Sep 1998 00:00
Date: Thu, 10 Sep 1998 00:00
54 lines
2092 bytes
2092 bytes
This is a multi-part message in MIME format. --------------0855FCC60368E807EB1FC680 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sounds like a job for GridBag Layout Subodh Nijsure wrote: > I have a very simple dialog where I want to show a series of > labels, and textfield, what is the most appropriate *swing* layout > to use. I would like to allocate say, 35% space for Jlabel and 75% for > JTextfield. > > This used to work great with JCAlighnerLayout prior to Swing, but now > with the swing thing of heavy/light component, JCAlignerLayout has > stopped working. What is the correct API that I should use to get > following results. > > Lable1 | Textfield1 > Label1 | Testfield2 > .... > ..... > > If you have a code snapshot that will be great else general hints would > work fine too. > Thanks! > > /Subodh Nijsure > Network Aware, Inc. > http://www.networkaware.com > --------------0855FCC60368E807EB1FC680 Content-Type: text/x-vcard; charset=us-ascii; name="ghussussian.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for guy Content-Disposition: attachment; filename="ghussussian.vcf" begin:vcard n:Hussussian;Guy x-mozilla-html:FALSE org:Caresoft Inc. version:2.1 email;internet:guy@caresoft.com title:Senior Software Engineer x-mozilla-cpt:;1 fn:Guy Hussussian end:vcard --------------0855FCC60368E807EB1FC680--
Technical Details
Message-ID:
<35F7FFAE.4DA37A66@caresoft.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6n3v6g$rgb7@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,b43d5ab3dfc174ed X-Google-Attributes: gid1089d0,public From: guy <guy@caresoft.com> Subject: Re: Which *swing* layout should I use? Date: 1998/09/10 Message-ID: <35F7FFAE.4DA37A66@caresoft.com> X-Deja-AN: 389793522 References: <6n3v6g$rgb7@forums.borland.com> X-Accept-Language: en Content-Type: multipart/mixed; boundary="------------0855FCC60368E807EB1FC680" X-Complaints-To: newsabuse@supernews.com X-Trace: 905445221 CFCJVWJ8C0446D185C usenet78.supernews.com Organization: Caresoft Inc. Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.api