Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Design issue : language switch  RSS feed

Gilles Marceau
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody,

i am starting to work on a Swing GUI, and i would like to implement
a dynamic behavior for the language switch (i.e. no need to restart
the application to get the new language selected).
Is there a well-known design to address this issue ? I have though
of a notification process between a TextResourceManager responsible to
maintain the current set of text resources, and all the graphical components. Each time the current set of resources change, the graphical
components are notified that it's time to reload their text resources.

What do you think about that ?

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!