🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: JLabel font size

#12989
From: Richard Wilkman
Date: Thu, 15 Oct 1998 00:00
32 lines
1500 bytes
Vasudevan:

In the hintsandtips.txt is a tidbit that mentions that JFC items don't
repaint automaticly when a property set happens.  Usually all you need
to do after your setText() is a repaint().

The trick is a little less dependable in Applets, but try that first.

-Rich

Vasudevan Srinivasan wrote:
> 
> Hi,
> Im setting the size of a JLabel dynamically from an applet. When the
> size grows the end of text is replaced by "...". is there any property i
> need to set ?
> Thanks.

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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: <36260F6D.F89CFB33@inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3626085B.E30108BB@netrisk.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,43e13e58b8f4a43b
X-Google-Attributes: gid111d45,public
From: Richard Wilkman <rwilkman@inprise.com>
Subject: Re: JLabel font size
Date: 1998/10/15
Message-ID: <36260F6D.F89CFB33@inprise.com>
X-Deja-AN: 401373718
Content-Transfer-Encoding: 7bit
References: <3626085B.E30108BB@netrisk.com>
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing