Article View: borland.public.jbuilder.java.swing
Article #313Re: How to display multiple lines of text in JButton
From: Arthur Ore
Date: Fri, 05 Aug 2005 08:07
Date: Fri, 05 Aug 2005 08:07
16 lines
1242 bytes
1242 bytes
Here's one way :-
jButton1.setText("<html><p>line1</p><p>line2</p></html>");
Arth
--
Arthur Ore
"Eric Orilla" <eorilla@yahoo.com> wrote in message
news:42f2f8e6$1@newsgroups.borland.com...
>
> Hi there,
> How to display multiple lines of text in JButton?
>
> Thanks.
Technical Details
Message-ID:
<42f31e35$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<42f2f8e6$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,a8880302fcaabbd6 X-Google-Attributes: gid111d45,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Arthur Ore" <nospamthx@nospamthx.co.uk> Newsgroups: borland.public.jbuilder.java.swing References: <42f2f8e6$1@newsgroups.borland.com> Subject: Re: How to display multiple lines of text in JButton Date: Fri, 5 Aug 2005 09:07:07 +0100 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 NNTP-Posting-Host: 82.69.65.131 Message-ID: <42f31e35$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1123229237 82.69.65.131 (5 Aug 2005 01:07:17 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail