🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Help with GridBagLayout manager

#9830
From: Jeff Marendo
Date: Fri, 07 Jan 2000 00:00
26 lines
1855 bytes
Hello,

I'm going to have to walk away from my computer for a bit to cool down, but
I have to ask for some help before I do.

I had a great website reference that explained very well how to use the
GridBagLayout manager, but unfortunately I didn't bookmark it.  It explained
how one should use the XYLayout manager and then convert to GridBagLayout.
All that would be left would be some tweaking.  If anyone knows what site
I'm talking about, please let me know.

I'm trying to create one panel using the GridBagLayout manager.  This panel
has two rows.  The top row will have 7 columns (0-6).  The bottom row will
have 12 columns (0-11).  I originally laid everything out in JBuilder3 using
the XYLayout manager and then converted it using the GridBagLayout manger.
The problem is that all of my components are not lined up properly in their
assigned columns (i.e. many are hidden or partially covered up) within each
row.  I tried to resize and adjust the components and the columns, but every
time I get something in one row looking right all of the stuff in the other
row is totally screwed up.

If anyone has any advice other than not to use GridBagLayout, which I'd love
to if I could help it, please reply--especially if you know of any online
tutorials that are usable.  Thank you.

Jeff
Technical Details
Message-ID: <85507g$rmg5@bornews.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: 111d45,ecbc9a69fd2dad64,start
X-Google-Attributes: gid111d45,public
From: "Jeff Marendo" <marendoj@commos.com>
Subject: Help with GridBagLayout manager
Date: 2000/01/07
Message-ID: <85507g$rmg5@bornews.borland.com>
X-Deja-AN: 569574211
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Organization: CommTech Corporation
X-MSMail-Priority: Normal
Reply-To: "Jeff Marendo" <marendoj@commos.com>
Newsgroups: borland.public.jbuilder.java.swing