🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Displaying button caption on multiple lines

#13251
From: Michael Nguyen
Date: Tue, 25 Aug 1998 00:00
10 lines
826 bytes
Hi,

I have a button (swing.JButton) with a caption that contain multiple
words.
By default the caption is displayed as one line on the button,
so I have to make the button wide enough to display the whole caption.
Is there a way to have the caption displayed as multiple lines
on the button ?

Michael Nguyen,
Technical Details
Message-ID: <35E31607.D7B8628A@home.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,178a7de6a82470f8,start
X-Google-Attributes: gid111d45,public
From: Michael Nguyen <michaelmn@home.com>
Subject: Displaying button caption on multiple lines
Date: 1998/08/25
Message-ID: <35E31607.D7B8628A@home.com>
X-Deja-AN: 384656470
Content-Transfer-Encoding: 7bit
Organization: Another Netscape Collabra Server User
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing