🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2948

Which *swing* layout should I use?

#2948
From: Subodh Nijsure
Date: Sat, 27 Jun 1998 00:00
25 lines
1154 bytes

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
Technical Details
Message-ID: <6n3v6g$rgb7@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,b43d5ab3dfc174ed,start
X-Google-Attributes: gid1089d0,public
From: "Subodh Nijsure" <subodh@best.com>
Subject: Which *swing*  layout should I use?
Date: 1998/06/27
Message-ID: <6n3v6g$rgb7@forums.borland.com>
X-Deja-AN: 366696395
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.api