Article View: borland.public.jbuilder.java.swing
Article #8214Re: Customizing JOptionPane
From: John McGrath TeamB
Date: Sat, 14 Oct 2000 00:00
Date: Sat, 14 Oct 2000 00:00
19 lines
1162 bytes
1162 bytes
On Fri, 13 Oct 2000 11:57:17 -0400, Ernesto Bascon Pantoja wrote:
> Is it possible to customize the JOptionPane class, i.e., change
> the text of defined buttons ("Aceptar" instead "OK", etc.), change
> the font size of message, change the background and foreground of
> the message, etc.?
If you want it to say "Aceptar" (and "Cancelar", I presume), run your
program with -Duser.language=es. When running from JBuilder, you can
enter this into the "VM Parameters" field under "Project Properties".
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID:
<MPG.1451d76989fa15a3989c17@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<39E730DD.EE4E12A@ucbcba.edu.bo>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,fe3f49ab79d96316 X-Google-Attributes: gid111d45,public From: John McGrath [TeamB] <ng-b@JPMcGrath.net> Subject: Re: Customizing JOptionPane Date: 2000/10/14 Message-ID: <MPG.1451d76989fa15a3989c17@forums.borland.com> X-Deja-AN: 681288102 References: <39E730DD.EE4E12A@ucbcba.edu.bo> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing