Article View: borland.public.jbuilder.java.swing
Article #1246Re: Swing GUI problem - after a compile, components shift back to original size/position.
From: Graham Perks
Date: Fri, 27 Feb 2004 01:58
Date: Fri, 27 Feb 2004 01:58
33 lines
2606 bytes
2606 bytes
[[ This message was both posted and mailed: see the "To," "Cc," and "Newsgroups" headers for details. ]] One good replacement for XYLayout is Foam, which you can see at http://www.computersinmotion.com There are demos where you can watch Foam in action, and they make good tutorials. Foam combines the ease of use of XYLayout with the power of a sophisticated layout engine. Designs made with Foam are platform-neutral and much simpler to design (and MAINTAIN!!!) than writing your layout in Java code, as with, say GridBagLayout. Check it out at http://www.computersinmotion.com Cheers, Graham Perks. In article <403cf4a8@newsgroups.borland.com>, pnichols <paul@comp.net> wrote: > TJC wrote: > > > This is frustrating! I am designing a simple panel using the XYLayout. I > > quite often get into a situtation (not sure why/how) where I am aligning > > some components by multi-selecting them and choosing "Align Left" from the > > right-mouse context menu for example. The UI aligns them perfectly and > > things look great. BUT when I compile (Ctrl-Shift-F9) the components that > > Bottom line is that you should not use XYLayout. It is more for design only. > > If you try shipping to other platforms and/or even other graphics cards, it > will not look correct. >
Technical Details
Message-ID:
<260220041958084809%anon@a.z>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!news.he.net!cyclone-sf.pbi.net!216.196.106.144!border2.nntp.sjc.giganews.com!nntp.giganews.com!cyclone.austin.rr.com!fe1.texas.rr.com.POSTED!not-for-mailReferences:
<403cb4fa$1@newsgroups.borland.com> <403cf4a8@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,39a79768d2815a95 X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2004-02-26 17:58:13 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!news.he.net!cyclone-sf.pbi.net!216.196.106.144!border2.nntp.sjc.giganews.com!nntp.giganews.com!cyclone.austin.rr.com!fe1.texas.rr.com.POSTED!not-for-mail Subject: Re: Swing GUI problem - after a compile, components shift back to original size/position. From: Graham Perks <anon@a.z> Newsgroups: borland.public.jbuilder.java.swing Posted-And-Mailed: yes Message-ID: <260220041958084809%anon@a.z> References: <403cb4fa$1@newsgroups.borland.com> <403cf4a8@newsgroups.borland.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 8bit User-Agent: Thoth/1.7.1 (Carbon/OS X) Lines: 33 Date: Fri, 27 Feb 2004 01:58:09 GMT NNTP-Posting-Host: 24.243.248.57 X-Complaints-To: abuse@rr.com X-Trace: fe1.texas.rr.com 1077847089 24.243.248.57 (Thu, 26 Feb 2004 19:58:09 CST) NNTP-Posting-Date: Thu, 26 Feb 2004 19:58:09 CST Organization: Road Runner High Speed Online http://www.rr.com