🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

How: Adding JLabels of equal size to a FlowLayout

#16984
From: Mario Christ
Date: Fri, 08 Jan 1999 00:00
26 lines
1209 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: <36955849.7D54D3A5@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: f74b3,b90a6c6bba481063
X-Google-Attributes: gidf74b3,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: <36955849.7D54D3A5@rz.hu-berlin.de>
X-Deja-AN: 430014959
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.language