aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes almost working: change string labels of whole application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "almost working: change string labels of whole application" Watch "almost working: change string labels of whole application" New topic
Author

almost working: change string labels of whole application

alejandro garcia
Greenhorn

Joined: Aug 11, 2007
Posts: 10
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:







 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: almost working: change string labels of whole application