Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #3296

Re: Location of image fil

From "tar" <tar@THRWHITE.remove-dii-this>
Subject Re: Location of image fil
Message-ID <ymilk4ddzbk.fsf@blackcat.isi.edu> (permalink)
Newsgroups comp.lang.java.gui
References <e766492e-471b-4e12-8496-c9fec3a71bfb@e10g2000prf.googlegroups.com>
Date 2011-04-27 15:44 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
Chanchal <chanchal.jacob@gmail.com> writes:

> For the messages which are displayed on the message box, i'm using
> resource bundle and messages are being displayed in the correct
> language. The problem i'm facing is with the text on button of the
> message box. It seems that they are displayed based on the locale of
> the Operating System. Or is there any way i can set the locale ofthe
> whole application, so that button text will be shown in teh correct
> language?

What happens when you run the example code that was posted here?

Are you changing the locale before or after you create the dialog
object?  Once it's created, it's probably too late to change the locale
and expect the already existing buttons to be updated.

-- 
Thomas A. Russ,  USC/Information Sciences Institute

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: Location of image fil "Chanchal" <chanchal@THRWHITE.remove-dii-this> - 2011-04-27 15:43 +0000
  Re: Location of image fil "Sabine Dinis Blochberger" <sabine.dinis.blochberger@THRWHITE.remove-dii-this> - 2011-04-27 15:44 +0000
  Re: Location of image fil "tar" <tar@THRWHITE.remove-dii-this> - 2011-04-27 15:44 +0000

csiph-web