Article View: borland.public.jbuilder.java.swing
Article #681Re: Jlabel and HTML formatted text
From: Katerina K.
Date: Mon, 17 Jan 2005 15:37
Date: Mon, 17 Jan 2005 15:37
21 lines
1702 bytes
1702 bytes
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
"Kevin Dean [TeamB]" <NkOdSePaAnM@datadevelopment.com> wrote in message
news:41ebd546@newsgroups.borland.com...
> That would probably be because "justify" typically works only on every
> line but the last one in a paragraph (try it in a word processor to see
> what I mean). Since your text is only one line long, the "justify" option
> won't apply.
>
Technical Details
Message-ID:
<41ebdbcc@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<41ebc94b$1@newsgroups.borland.com> <41ebd546@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: "Katerina K." <scorpio_gemini@hotmail.com> Newsgroups: borland.public.jbuilder.java.swing References: <41ebc94b$1@newsgroups.borland.com> <41ebd546@newsgroups.borland.com> Subject: Re: Jlabel and HTML formatted text Date: Mon, 17 Jan 2005 16:37:47 +0100 Lines: 23 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: 129.132.68.93 Message-ID: <41ebdbcc@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1105976268 129.132.68.93 (17 Jan 2005 07:37:48 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail