• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

almost working: change string labels of whole application  RSS feed

Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:

Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!