Article View: borland.public.jbuilder.java.swing
Article #9836Re: Help with GridBagLayout manager
From: Jeff Marendo
Date: Fri, 07 Jan 2000 00:00
Date: Fri, 07 Jan 2000 00:00
17 lines
1506 bytes
1506 bytes
Whew!! Thanks Rich. I ended up finding the magical link about GBL I mentioned, and it was the one located at Borland's website. Excellent. As it is, I'm using one JPanel that has GridLayout(2, 0). Then I have two JPanels for each row, and each one of those panels uses the GBL with all of the components I need. That looks like it will give me better control and make it easier to maintain. The main two problems that I'm still having, though, are 1) some of the cells are bigger than the size of the components within, and I want to shrink those cells to fit the size of the contained component. The other problem I'm having is minor, but I can't get the first component in the top JPanel to align correctly with the first component in the bottom JPanel. I'll submit some of my code later and maybe someone can see something that I don't. Thanks for the reply. Jeff
Technical Details
Message-ID:
<855ku4$s2s10@bornews.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<85507g$rmg5@bornews.borland.com> <38761BBD.73B606DD@inprise.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,ecbc9a69fd2dad64 X-Google-Attributes: gid111d45,public From: "Jeff Marendo" <marendoj@commos.com> Subject: Re: Help with GridBagLayout manager Date: 2000/01/07 Message-ID: <855ku4$s2s10@bornews.borland.com> X-Deja-AN: 569711009 References: <85507g$rmg5@bornews.borland.com> <38761BBD.73B606DD@inprise.com> 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