Article View: borland.public.jbuilder.java.swing
Article #10686Re: How to know the size in pixels???
From: Paul Furbacher [TeamB]
Date: Thu, 19 Aug 1999 00:00
Date: Thu, 19 Aug 1999 00:00
13 lines
1211 bytes
1211 bytes
Hongbo Su wrote: > Is there anyway I can keep the size fixed? > For example, if I want to keep the 6 JLabels has the same width, but > the strings of these 6 Jlables are different? To do that, you have to choose the correct layout manager -- probably the GridLayout if you have only buttons in the panel, or GridBagLayout if have a mixture of components in a single panel. Paul Furbacher (TeamB)
Technical Details
Message-ID:
<37BC2822.F3480A3E@bilbo.bio.purdue.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<37B18BC5.FDC58523@ucbcba.edu.bo> <7ovhp2$g7u11@forums.borland.com> <37B43577.DF127B44@ucbcba.edu.bo> <7p1peb$ijd1@forums.borland.com> <37B9C689.E8094E77@ucbcba.edu.bo> <37B9DDB8.E8BF0C80@bilbo.bio.purdue.edu> <37BC1748.941A235A@genelogic.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,db95dab94e8fcb9e X-Google-Attributes: gid111d45,public From: "Paul Furbacher [TeamB]" <pf@bilbo.bio.purdue.edu> Subject: Re: How to know the size in pixels??? Date: 1999/08/19 Message-ID: <37BC2822.F3480A3E@bilbo.bio.purdue.edu> X-Deja-AN: 514723134 Content-Transfer-Encoding: 7bit References: <37B18BC5.FDC58523@ucbcba.edu.bo> <7ovhp2$g7u11@forums.borland.com> <37B43577.DF127B44@ucbcba.edu.bo> <7p1peb$ijd1@forums.borland.com> <37B9C689.E8094E77@ucbcba.edu.bo> <37B9DDB8.E8BF0C80@bilbo.bio.purdue.edu> <37BC1748.941A235A@genelogic.com> Content-Type: text/plain; charset=us-ascii Organization: Reverse Alchemy, Inc. Mime-Version: 1.0 Reply-To: pf@bilbo.bio.purdue.edu Newsgroups: borland.public.jbuilder.java.swing