🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.java.swing
2 messages
2 total messages Started by Eric Orilla Fri, 05 Aug 2005 05:28
How to display multiple lines of text in JButton
#312
Author: Eric Orilla
Date: Fri, 05 Aug 2005 05:28
5 lines
936 bytes
Hi there,
How to display multiple lines of text in JButton?

Thanks.
Re: How to display multiple lines of text in JButton
#313
Author: Arthur Ore
Date: Fri, 05 Aug 2005 08:07
16 lines
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. 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads