Article View: borland.public.jbuilder.java.swing
Article #1380Re: Dialog box association
From: Gillmer J. Derge (TeamB)
Date: Wed, 17 Dec 2003 20:30
Date: Wed, 17 Dec 2003 20:30
14 lines
1770 bytes
1770 bytes
"Matthew Sweet" <matthew.sweet@sed.redstone.army.mil> wrote in message news:3fe0bbd5$1@newsgroups.borland.com... > I figured out the size issue. I had to remove JDialog.pack(); Then it sounds like you might have a problem with your layout manager. The dialog ought to be able to figure out its preferred size so pack works properly. That is, unless you're using something like the XYLayout in which case you definitely don't want to use pack, but you might want to consider switching layout managers. -- Gillmer J. Derge (TeamB)
Technical Details
Message-ID:
<3fe0bcd3$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3fde2463@newsgroups.borland.com> <3fde265c$1@newsgroups.borland.com> <3fdf2537$1@newsgroups.borland.com> <3fdf40cd$1@newsgroups.borland.com> <3fdf4a1a$1@newsgroups.borland.com> <3fdf4d2b@newsgroups.borland.com> <3fe078ac$1@newsgroups.borland.com> <3fe0bbd5$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,55c92298dba121d1 X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2003-12-17 12:40:24 PST From: "Gillmer J. Derge \(TeamB\)" <spam@gillmerderge.com> Newsgroups: borland.public.jbuilder.java.swing References: <3fde2463@newsgroups.borland.com> <3fde265c$1@newsgroups.borland.com> <3fdf2537$1@newsgroups.borland.com> <3fdf40cd$1@newsgroups.borland.com> <3fdf4a1a$1@newsgroups.borland.com> <3fdf4d2b@newsgroups.borland.com> <3fe078ac$1@newsgroups.borland.com> <3fe0bbd5$1@newsgroups.borland.com> Subject: Re: Dialog box association Date: Wed, 17 Dec 2003 15:30:16 -0500 Lines: 15 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 64.185.133.49 Message-ID: <3fe0bcd3$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1071693011 64.185.133.49 (17 Dec 2003 12:30:11 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail