Article View: borland.public.jbuilder.java.language
Article #16982Re: How: Adding JLabels of equal size to a FlowLayout
From: Richard Wilkman
Date: Thu, 07 Jan 1999 00:00
Date: Thu, 07 Jan 1999 00:00
50 lines
1911 bytes
1911 bytes
Mario: Use a GridLayout instead. It's purpose is to divide available space by the number of components. -Rich Mario Christ wrote: > > 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 > -- -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rich Wilkman Senior Quality Assurance Engineer Borland JBuilder Team If you see something that looks like an opinion up there, it's mine and mine alone. Mail sent to me from the newsgroups won't bounce but will be ignored. If I have time, I'll respond, but you have a better chance if you confine your posts to the newsgroups =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID:
<369558EF.358645D6@inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<36955849.7D54D3A5@rz.hu-berlin.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,b90a6c6bba481063,start X-Google-Attributes: gidf74b3,public From: Richard Wilkman <rwilkman@inprise.com> Subject: Re: How: Adding JLabels of equal size to a FlowLayout Date: 1999/01/07 Message-ID: <369558EF.358645D6@inprise.com> X-Deja-AN: 430011974 Content-Transfer-Encoding: 7bit References: <36955849.7D54D3A5@rz.hu-berlin.de> Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language