🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #11423

Re: XYLayout to GridbagLayout ?

#11423
From: Rich Wilkman
Date: Fri, 28 May 1999 00:00
38 lines
1809 bytes
Sohan:

The actual conversion is selecting the container and changing it's
layout property from XY to Gridbag.  However if you take a little time
beforehand and clean up your UI, the conversion can go a lot smoother.

Use the Alignment tools availavble in XYLayout to get things lined up
and sized the way you want.  (Select or multi-select the compoments and
rt-click to see your choices).  Once things are cleanly lined up,
convert to GridBag and continue tweaking from there.

There is an excellent tutorial on GBL at:

http://www.borland.com/techpubs/jbuilder/gbltutorial/start.html

-Rich

Sohan Mendis wrote:
> 
> I need to convert XYLayout to Gridbag programmatically. ie I have ( x,y,
> width,height) . How should I do the conversion ?
> 
> Sohan

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rich Wilkman
Senior Quality Assurance Engineer
Borland JBuilder Team

If you see something that looks like an opinion up there,
it's mine and mine alone.

Mail sent to me from the newsgroups won't bounce but will
be ignored.  If I have time, I'll respond, but you  have
a better chance if you confine your posts to the newsgroups
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID: <374EB969.C1CFF7FC@inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7ikpl8$55217@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,3e96a4cb16051986
X-Google-Attributes: gid111d45,public
From: Rich Wilkman <rwilkman@inprise.com>
Subject: Re: XYLayout to GridbagLayout ?
Date: 1999/05/28
Message-ID: <374EB969.C1CFF7FC@inprise.com>
X-Deja-AN: 483150310
Content-Transfer-Encoding: 7bit
References: <7ikpl8$55217@forums.borland.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing