Article View: borland.public.jbuilder.java.swing
Article #7543Re: setText
From: Tom Denn
Date: Wed, 17 Jan 2001 17:53
Date: Wed, 17 Jan 2001 17:53
6 lines
1149 bytes
1149 bytes
A layout manager can also assist you in keeping the size of a component constant. I know with XYLayout, the XYConstraints parameter in the add method will constrain the size of the component. EX: myPanel.add(myComponent, new XYConstraints(10, 0, 244, 31)); PS: I know the XYLayout gets slammed a lot, but it's an example. Other layout managers might exibit this control too.
Technical Details
Message-ID:
<3a65db6f_2@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!hermes.visi.com!news-out.visi.com!hub.org!hub.org!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!137.225.250.2References:
<3A65AFE9.2F194312@us.ibm.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,49b07e29a1fa7a4c X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2001-01-17 09:55:10 PST From: "Tom Denn" <dennt@jsc.mil> Newsgroups: borland.public.jbuilder.java.swing References: <3A65AFE9.2F194312@us.ibm.com> Subject: Re: setText Date: Wed, 17 Jan 2001 12:53:39 -0500 Lines: 8 X-Newsreader: Microsoft Outlook Express 4.72.3155.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 NNTP-Posting-Host: 137.225.250.2 Message-ID: <3a65db6f_2@dnews> X-Trace: 17 Jan 2001 09:50:39 -0800, 137.225.250.2 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!hermes.visi.com!news-out.visi.com!hub.org!hub.org!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!137.225.250.2