Article View: borland.public.jbuilder.java.language
Article #16437Re: Controlling component position in a JPanel
From: Casey Williams Work
Date: Thu, 18 Feb 1999 00:00
Date: Thu, 18 Feb 1999 00:00
23 lines
1473 bytes
1473 bytes
I am not real surew about your problem without actually looking at it. You may try swithing to the GridBagLayout. It is more of a pain in the ass but always seems to work. Also the XYLayout doesn't really work well on other non Microsoft platforms. Leo Cohen wrote in message <36C326C7.930391A@cs.virginia.edu>... >I have a JPanel in a JFrame, and in this panel a collection of radio >buttons & labels. The JPanel has XYLayout2 Layout, and the components it >contains have Overlay Layout. It looks just right in the designer, but >when I run it, everything in the panel gets piled on top of each other, >making it useless. > >What am I doing wrong here? >-- >Leo Cohen > >116-1 Howard Drive >Charlottesville, VA 22903 > >804-243-8922 (UVA) >804-244-4648 (home) >804-244-7922 (fax) >lcohen@cs.virginia.edu
Technical Details
Message-ID:
<7aioge$4oi$1@holly.prod.itd.earthlink.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<36C326C7.930391A@cs.virginia.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,a62c4749599cd310 X-Google-Attributes: gidf74b3,public From: "Casey Williams Work" <cwilliams@thedswgroup.com> Subject: Re: Controlling component position in a JPanel Date: 1999/02/18 Message-ID: <7aioge$4oi$1@holly.prod.itd.earthlink.net> X-Deja-AN: 445953114 References: <36C326C7.930391A@cs.virginia.edu> X-Posted-Path-Was: not-for-mail X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-ELN-Date: 19 Feb 1999 04:15:10 GMT X-ELN-Insert-Date: Thu Feb 18 20:25:01 1999 Organization: EarthLink Network, Inc. Newsgroups: borland.public.jbuilder.java.language