🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: JButton auto resize??

#1284
From: Rudy
Date: Wed, 24 Dec 2003 16:35
63 lines
3425 bytes
Yes well, i have heard that and have used gridbags and borderlayout in my
final UI designs, but as there is, i believe, no other layout manager
(correct me if i am wrong) that suits my needs.  Which are:
1. Allow the user to place components onto a panel which can be at any
position and have any size
2. This panel can grow, due to a scrollPane so i do not know what size it
will be initially

If you know how i can overcome these not using XY and hence avoid all this
name calling you foretell, i would be very appreciative :)

Thanks
Rudy

Merry Christmas

"Paul Furbacher" <pfurbacher@mac.com> wrote in message
news:3fe34d90$1@newsgroups.borland.com...
> Rudy wrote:
>
> > Ha, well, when something soooo simple is giving soooooo much grief
> > you forget what your doing.  I planned to use XY, didnt use XY,
> > then used XY and worked.
>
> Has anyone mentioned that you should only
> use XYLayout initially when you place
> components on your panel, and _then_
> switch to a standard Swing layout, such
> as the GridBag?
>
> It may be useful to re-read the section in
> the JBuilder Help on how to temporarily
> use the XYLayout to get your design started.
> The section stresses that you should not
> use XYLayout in your final design.
>
> It's really in your best interest that
> I'm suggesting this.  If you stick with
> the XYLayout, your users may well curse you,
> and use words you don't want to hear with
> regard to your UI design.
>
> Yes, the GridBagLayout is initially difficult
> and confusing, but once you master it, and
> use the GridBag Assistant which JBuilder offers,
> you'll be cruising, producing well-crafted and
> admired UIs.
>
>
> -- 
>
>
> Paul Furbacher (TeamB)
>
>    Save time, search the archives:
>         http://www.borland.com/newsgroups/ngsearch.html
>
>    Is it in Joi Ellis's Faq-O-Matic?
>         http://www.visi.com/~gyles19/fom-serve/cache/1.html
>
>    Finally, please send responses to the newsgroup only.
>    That means, do not send email directly to me.
>    Thank you.
Technical Details
Message-ID: <3fe9c077@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3fca70a4$1@newsgroups.borland.com> <3fcaeb5a@newsgroups.borland.com> <3fde40c0$1@newsgroups.borland.com> <3fde639f$1@newsgroups.borland.com> <3fe008a8@newsgroups.borland.com> <3fe0f730@newsgroups.borland.com> <3fe1f9e1@newsgroups.borland.com> <3fe231d8$1@newsgroups.borland.com> <3fe32545$1@newsgroups.borland.com> <3fe34d90$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,d747d5f574c277f5
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2003-12-24 08:39:57 PST
Reply-To: "Rudy" <rhentzen@hotmail.com>
From: "Rudy" <rhentzen@hotmail.com>
Newsgroups: borland.public.jbuilder.java.swing
References: <3fca70a4$1@newsgroups.borland.com> <3fcaeb5a@newsgroups.borland.com> <3fde40c0$1@newsgroups.borland.com> <3fde639f$1@newsgroups.borland.com> <3fe008a8@newsgroups.borland.com> <3fe0f730@newsgroups.borland.com> <3fe1f9e1@newsgroups.borland.com> <3fe231d8$1@newsgroups.borland.com> <3fe32545$1@newsgroups.borland.com> <3fe34d90$1@newsgroups.borland.com>
Subject: Re: JButton auto resize??
Date: Wed, 24 Dec 2003 16:35:19 -0000
Lines: 65
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: 81.86.182.21
Message-ID: <3fe9c077@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1072283767 81.86.182.21 (24 Dec 2003 08:36:07 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail