🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Dynamic component resizing

#9835
From: Darko Krsul
Date: Fri, 07 Jan 2000 00:00
10 lines
780 bytes
What is the way to have size of a component dynamically change (i.e.
size of a JTextField, depending on string length), but never go beyond
some predefined size?

I expected �setPreferredSice� to do the job, but that way size stays
fixed.

Thanks,

D.
Technical Details
Message-ID: <38762CDB.3ED73884@hyperion.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,67b31e308527b7b8,start
X-Google-Attributes: gid111d45,public
From: Darko Krsul <darko_krsul@hyperion.com>
Subject: Dynamic component resizing
Date: 2000/01/07
Message-ID: <38762CDB.3ED73884@hyperion.com>
X-Deja-AN: 569639993
Content-Transfer-Encoding: 8bit
Organization: Another Netscape Collabra Server User
X-Accept-Language: en
Content-Type: text/plain; charset=iso-8859-2
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing