🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #18213

Re: Converting XYLayout to GridBagLayout

#18213
From: Chris Hill
Date: Wed, 29 Jul 1998 00:00
29 lines
1339 bytes
1) Go to the Design tab
2) Select the component or frame which is using the unwanted XYLayout
3) Change the layout property in the inspector by selecting
GridBagLayout from the drop down
4) Make any necessary adjustments

Is that easy enough? <g>  Now try and code the same GridBagLayout by
hand.  Have Fun!  Of course, you can temporarily convert back to
XYLayout if you find it easier to work with while designing your
interface.

BTW if you are concerned about using Borland classes, this will
introduce a tiny dependency on
borland.jbcl.layout.GridBagConstraints2.  Just include this class when
you deploy.  Is is a very small class.

On Tue, 28 Jul 1998 19:30:56 -0700, "Sumant Munjal"
<sumant@beasys.com> wrote:

>Does anybody know how to convert XYlayout to GridBagLayout ?
>
>Thanks
>Sumant
>sumant@beasys.com
>
>

Chris Hill
hillca@cs.purdue.edu
Technical Details
Message-ID: <35be921b.22554882@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6pm1fg$eaa5@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,35ed702055ae3c92
X-Google-Attributes: gidf74b3,public
From: hillca@cs.purdue.edu (Chris Hill)
Subject: Re: Converting XYLayout to GridBagLayout
Date: 1998/07/29
Message-ID: <35be921b.22554882@forums.borland.com>
X-Deja-AN: 375869864
References: <6pm1fg$eaa5@forums.borland.com>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.language