Article View: borland.public.jbuilder.java.swing
Article #374Re: Gridbaglayout display issue
From: Paul Nichols [TeamB]
Date: Wed, 05 Oct 2005 03:44
Date: Wed, 05 Oct 2005 03:44
18 lines
1450 bytes
1450 bytes
Magnus wrote: > Gillmer J. Derge [TeamB] wrote: > >> Magnus wrote: >> > > The window was created using the XYLayout and then "automatically" > converted to GBL (as the tutorial recommends). I have done this for > 30 > windows and only had to adjust a couple of times. That is where the -1 > comes from (and all other arguments). I would not use this combo. XY is vertainly not reliable, and GridBagLayout mappings from XY can only provide an approximation at best. Go back into your JFrame/JPanel and set the insets manually. You can do this with a right click.
Technical Details
Message-ID:
<4341f680@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<433a99e1$1@newsgroups.borland.com> <433aa03d$1@newsgroups.borland.com> <433aa2a3$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,621c342b92c7ba27 X-Google-Attributes: gid111d45,public X-Google-Language: ENGLISH,ASCII-7-bit Message-ID: <4341f680@newsgroups.borland.com> From: "Paul Nichols [TeamB]" <paul@comp.net> Subject: Re: Gridbaglayout display issue Newsgroups: borland.public.jbuilder.java.swing Date: Tue, 04 Oct 2005 22:44:07 -0500 References: <433a99e1$1@newsgroups.borland.com> <433aa03d$1@newsgroups.borland.com> <433aa2a3$1@newsgroups.borland.com> Lines: 20 Organization: CLC User-Agent: KNode/0.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit NNTP-Posting-Host: 68.113.94.215 X-Trace: newsgroups.borland.com 1128396416 68.113.94.215 (3 Oct 2005 20:26:56 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail