Java Swing - switch locale dynamically at runtime

Viewed 2645

I understand how to internationalize a java program, but I have a problem. Language in my program can be switched anytime, but my program can exist in many states, which means that it may or may not have several JLabels, JPanels, JFrames, etc, open. Is there a class or a method which will update the current GUI to the switched language, or does it have to be done manually?

If nothing else works, I'll just require user to restart the program to switch the language, but runtime change would be nice...

1 Answers
Related