Re: Location of image files in Java SRC
- From: tar@xxxxxxxxxxxxx (Thomas A. Russ)
- Date: 20 Mar 2008 11:29:03 -0700
Chanchal <chanchal.jacob@xxxxxxxxx> 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
.
- References:
- Location of image files in Java SRC
- From: Chanchal
- Re: Location of image files in Java SRC
- From: Andrew Thompson
- Re: Location of image files in Java SRC
- From: Chanchal
- Re: Location of image files in Java SRC
- From: Andrew Thompson
- Re: Location of image files in Java SRC
- From: Chanchal
- Location of image files in Java SRC
- Prev by Date: Images in text component (emoticons)
- Next by Date: Input/action map prob on JTextComponent
- Previous by thread: Re: Location of image files in Java SRC
- Next by thread: Re: Location of image files in Java SRC
- Index(es):