Change the language of application using ResourceBundle

5.8k views Asked by At

I'm building a internationalized application based of Java using Netbeans IDE, I´m trying to change the language of my frames using a combobox located in a singular frame, but I cant make the code for do that, can any help me?

The combobox contains a some Objects with a Local value identifier. I want to take this value and change the Locale of the frames, then change the languages of the Frames.

I tried to change the base Local, but that does not work. What do I do?

1

There are 1 answers

1
Aravind Yarram On BEST ANSWER

First you need to making your application i18n ready. Then you need to use resource bundles for localization. Read this tutorial end to end.