• 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
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
  • Tim Holloway
  • Carey Brown
  • salvin francis

almost working: change string labels of whole application

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:

It's exactly the same and completely different as this tiny ad:
Enterprise-grade Excel API for Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!