🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

How: Adding JLabels of equal size to a FlowLayout

#12400
From: Mario Christ
Date: Fri, 08 Jan 1999 00:00
26 lines
1207 bytes
Hi,

I want to add JLabels to a FlowLayout which have exactly the same
vertical size, even if they do not have the same Text.

However, an added JLabel will not appear with the length I have set
using JLabel#resize(), JLabel#setMinimumSize or JLabel#setMaximumSize().
Theese method only have an effect in a GridLayout.

How can I add JLabels of equal size to a FlowLayout? Can you help?

Thank you a lot.

Mario, Berlin

PS: Please sent your answer to my mailbox as well.

--
Mario Christ
Business Student
ICQ: #17919799
Home: +49 30 5500168
Mobile: +49 179 2901686
Email: mario.christ@gmx.net
Homepage: http://www2.rz.hu-berlin.de/~h0444xat
--
Technical Details
Message-ID: <36955811.90A05313@rz.hu-berlin.de>
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: 111d45,71f628faa27727a
X-Google-Attributes: gid111d45,public
From: Mario Christ <mario.christ@rz.hu-berlin.de>
Subject: How: Adding JLabels of equal size to a FlowLayout
Date: 1999/01/08
Message-ID: <36955811.90A05313@rz.hu-berlin.de>
X-Deja-AN: 430014960
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Humboldt-Universitaet zu Berlin
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing