🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Wrapping the text of a label

#7821
From: Tor Iver Wilhelmsen
Date: Tue, 02 Jan 2001 10:13
8 lines
1120 bytes
Hilde Lehmann <mole@intercable.net> writes:

> Yes but what I need is automatic wrapping not multiple lines, just like a
> JTextArea or JEditorPan.
> Any Idea?

If you use a JLabel with a preferredWidth it should wrap the HTML -
isn't this happening?
Technical Details
Message-ID: <ulmsus1lx.fsf@sds.no>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!212.43.194.69!fr.clara.net!heighliner.fr.clara.net!news.imp.ch!news-zh.switch.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!bornews.borland.com!not-for-mail
References: <3A4F4CFD.DF463ADC@intercable.net> <3a50779a_2@dnews> <3A51422D.F5616309@intercable.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,b54caeffc11b087f
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2001-01-02 02:15:16 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!212.43.194.69!fr.clara.net!heighliner.fr.clara.net!news.imp.ch!news-zh.switch.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!bornews.borland.com!not-for-mail
From: Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no>
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: Wrapping the text of a label
Date: 02 Jan 2001 11:13:46 +0100
Organization: Another Netscape Collabra Server User
Lines: 8
Sender: towi@SDSA1761
Message-ID: <ulmsus1lx.fsf@sds.no>
References: <3A4F4CFD.DF463ADC@intercable.net> <3a50779a_2@dnews> <3A51422D.F5616309@intercable.net>
NNTP-Posting-Host: pc4-252.sds.no
X-Newsreader: Gnus v5.5/Emacs 20.3