satgan
April 28th, 2000, 10:44 PM
Hi,
I used the following statement:
private static java.util.ResourceBundle resResourceBundle1 = java.util.ResourceBundle.getBundle("Learn.ResourceBundle1");
I used this ResourceBundle to get the labels in my applet.
I created three clases as follows:
Learn.ResourceBundle1
Learn.ResourceBundle1_fr
Learn.ResourceBundle1_it
First I exectcuted without changing my regional settings(i.e.US).
It picked up the key pairs from Learn.ResourceBundle1
Next, I changed my regional settings to Paris. I restarted the computer and again executed the program.
Still, key paris are picked up from Learn.ResourceBundle1 only rather than from Learn.ResourceBundle1_fr
Can anybody explain why it is happening like that?
Thanks in advance.
I used the following statement:
private static java.util.ResourceBundle resResourceBundle1 = java.util.ResourceBundle.getBundle("Learn.ResourceBundle1");
I used this ResourceBundle to get the labels in my applet.
I created three clases as follows:
Learn.ResourceBundle1
Learn.ResourceBundle1_fr
Learn.ResourceBundle1_it
First I exectcuted without changing my regional settings(i.e.US).
It picked up the key pairs from Learn.ResourceBundle1
Next, I changed my regional settings to Paris. I restarted the computer and again executed the program.
Still, key paris are picked up from Learn.ResourceBundle1 only rather than from Learn.ResourceBundle1_fr
Can anybody explain why it is happening like that?
Thanks in advance.