Article View: borland.public.jbuilder.java.swing
Article #12051Re: Word Wrap in Standard or Custom Dialogs
From: Jimmy
Date: Sun, 28 Feb 1999 00:00
Date: Sun, 28 Feb 1999 00:00
17 lines
930 bytes
930 bytes
Just insert newlines in the string you wish to display...
ie.
showConfirmDialog("This is the first line\n This is the second line"
Tommy Cox wrote in message <7b41aj$ee310@forums.borland.com>...
>Does anyone have a good trick that they use in the
>JOptionPane.showMessageDialog and JOptionPane.showConfirmDialog messages to
>display multi-line, nicely word wrapped messages?
>
>Thanks in advance!
>
>tommy cox
>tommycox@wwisp.com
>
>
>
Technical Details
Message-ID:
<7bcgdo$ohd12@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7b41aj$ee310@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,32fc68544bb02938 X-Google-Attributes: gid111d45,public From: "Jimmy" <ding@seersoft.on.ca> Subject: Re: Word Wrap in Standard or Custom Dialogs Date: 1999/02/28 Message-ID: <7bcgdo$ohd12@forums.borland.com> X-Deja-AN: 449665197 References: <7b41aj$ee310@forums.borland.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: SeerSoft Newsgroups: borland.public.jbuilder.java.swing