🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Text wrap on modal JDialog

#7283
From: swett
Date: Sat, 30 Jun 2001 02:24
10 lines
1273 bytes
How can I wrap the text on a JDialog?  I just want a fixed-sized dialog
frame/window that has room for a string that would occupy about 3 or 4
lines, then an OK button on it.

The problem is that the string doesn't wrap around, but instead
automatically widens my frame/window to the maximum horizontal size and then
truncates instead of wraps.

I've tried using a text panel (with editing disabled) instead of a label,
but it behaves the same way.  Any ideas?
Technical Details
Message-ID: <3b3d38bb_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,74d2250a5fb395f4,start
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-06-29 19:38:10 PST
Reply-To: <swett@bcswebsite.com>
From: <swett@starband.com>
Newsgroups: borland.public.jbuilder.java.language
Subject: Text wrap on modal JDialog
Date: Fri, 29 Jun 2001 22:24:03 -0400
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 148.71.34.6
Message-ID: <3b3d38bb_1@dnews>
X-Trace: dnews 993867963 148.71.34.6 (29 Jun 2001 19:26:03 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews