🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #16555

Controlling component position in a JPanel

#16555
From: Leo Cohen
Date: Thu, 11 Feb 1999 00:00
17 lines
1003 bytes
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: <36C326C7.930391A@cs.virginia.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,a62c4749599cd310,start
X-Google-Attributes: gidf74b3,public
From: Leo Cohen <lcohen@cs.virginia.edu>
Subject: Controlling component position in a JPanel
Date: 1999/02/11
Message-ID: <36C326C7.930391A@cs.virginia.edu>
X-Deja-AN: 443308021
Content-Transfer-Encoding: 7bit
Organization: Another Netscape Collabra Server User
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language