🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #15019

I'm having trouble with square JButtons and Multi-line text

#15019
From: New Horizons Software
Date: Mon, 12 Jul 1999 00:00
8 lines
988 bytes
I can make the button square by creating it with a square Icon.  Which
I would prefer not to have to do.  And how can I get text to line wrap
(I want to force the wrap).  I've tried "\n" and "<br>" and neither
works.

I'd prefer not to use the icon because I want the button to change
colors, and right now it's easy to do that with the JButton methods (I
guess they're AbstractButton methods).
Technical Details
Message-ID: <378a1888.24861578@news.iu.net>
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: f74b3,971f48d9b3c371ec,start
X-Google-Attributes: gidf74b3,public
From: cstrick@iu.net.cut_this (New Horizons Software)
Subject: I'm having trouble with square JButtons and Multi-line text
Date: 1999/07/12
Message-ID: <378a1888.24861578@news.iu.net>
X-Deja-AN: 500157033
X-Complaints-To: newsabuse@remarQ.com
X-Trace: 931797102.740.42 .X8MLPGJIB8A4CC75C qube-01.us-ca.remarq.com
Organization: New Horizons Software
NNTP-Posting-Date: Mon, 12 Jul 1999 16:31:42 GMT
Newsgroups: borland.public.jbuilder.java.language