Article View: borland.public.jbuilder.java.swing
Article #8132Re: Customizing JOptionPane
From: Tor Iver Wilhelmsen
Date: Mon, 16 Oct 2000 00:00
Date: Mon, 16 Oct 2000 00:00
12 lines
924 bytes
924 bytes
Ernesto Bascon Pantoja <bascone@ucbcba.edu.bo> writes:
> Thanks for your answer, but, is it possible to modify the buttons labels
> at runtime (i.e., "Cancelar", "Abbruch", "Cancel", etc.) and to modify
> the
> message properties (font, colors, etc.)?
See javax.swing.plaf.basic.BasicOptionPaneUI:
UIManager.put("OptionPane.cancelButtonText", "Abbruch");
for instance.
Technical Details
Message-ID:
<u3dhwq2t3.fsf@sds.no>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<39E730DD.EE4E12A@ucbcba.edu.bo> <MPG.1451d76989fa15a3989c17@forums.borland.com> <39EB0661.D21560E@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: Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no> Subject: Re: Customizing JOptionPane Date: 2000/10/16 Message-ID: <u3dhwq2t3.fsf@sds.no> X-Deja-AN: 682071268 Sender: towi@SDSA1761 References: <39E730DD.EE4E12A@ucbcba.edu.bo> <MPG.1451d76989fa15a3989c17@forums.borland.com> <39EB0661.D21560E@ucbcba.edu.bo> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing