This week's book giveaway is in the Performance forum. We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line! See this thread for details.
almost working: change string labels of whole application
posted 8 years ago
Hi! I've been trying to let the end user change the language of a menu. It's almost done, now I have a Menus class showing 3 items : File Help and Description In the File item you click in Configuration and there is the combo box where you select the language, you select for example Spanish and click the button and it changes the language of the 3 items above (File,Help and Description). To do that I have a Selector class where I declare the Locales and an updateString method that I call after setting the Resources. So far so good
Now in the Description item I have a subitem named Test and in Test there's a panel named Conver with just some labels and a button, I'm trying to change the language of this panel too in my Configuration panel but does not work ... Here are the classes: