🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Jlabel and HTML formatted text

#683
From: Kevin Dean [TeamB]
Date: Mon, 17 Jan 2005 16:50
26 lines
2024 bytes
It may well be then that the "justify" option is not supported.  There's 
source for a multi-line label here that may do what you want:

http://forum.java.sun.com/thread.jspa?threadID=459705&messageID=2104021
-- 
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/

Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html

"Katerina K." <scorpio_gemini@hotmail.com> wrote in message 
news:41ebdbcc@newsgroups.borland.com...
> As I wrote
>
> JLabel questionText = new JLabel();
>
> questionText.setText("<html> <p style=\"text-align: justify\"> " + "My 
> multiline text here...");
>
> which means that in the String is a Multi-line text!!! Of course there was 
> no reason to copy all the text here (about 10 lines of text that do not 
> mean anything to the newsgroup).
>
> Katerina
Technical Details
Message-ID: <41ec1636$2@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41ebc94b$1@newsgroups.borland.com> <41ebd546@newsgroups.borland.com> <41ebdbcc@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,d22a0ad4d3ada954
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Kevin Dean [TeamB]" <NkOdSePaAnM@datadevelopment.com>
Newsgroups: borland.public.jbuilder.java.swing
References: <41ebc94b$1@newsgroups.borland.com> <41ebd546@newsgroups.borland.com> <41ebdbcc@newsgroups.borland.com>
Subject: Re: Jlabel and HTML formatted text
Date: Mon, 17 Jan 2005 11:50:49 -0500
Lines: 28
Organization: Dolphin Data Development Ltd.
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
NNTP-Posting-Host: 24.57.153.235
Message-ID: <41ec1636$2@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1105991222 24.57.153.235 (17 Jan 2005 11:47:02 -0800)
X-Authenticated-User: kdean
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail