Package kameleon.gui.language

Examples of kameleon.gui.language.GuiLanguage


  public void reloadLanguage() throws UnknownKeyException {
    SwitchLanguage sl = SwitchLanguage.getInstance() ;
   
    // Disable only the menu item of the current language
    //TODO Add access to the previously selected language to boost efficiency
    GuiLanguage currentLang = sl.getCurrentLanguage() ;
    this.frenchLang.setEnabled(
        !GuiLanguage.FRENCH.equals(currentLang)) ;
    this.englishLang.setEnabled(
        !GuiLanguage.ENGLISH.equals(currentLang)) ;
View Full Code Here

TOP

Related Classes of kameleon.gui.language.GuiLanguage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.