Package mdes.slick.sui

Examples of mdes.slick.sui.CheckBox


     */
    List<String> translated = Translator.translate("_GUI");
    setBackground(new Color(0, 0, 0, 70));
    {
     
      m_fullScreen = new CheckBox(translated.get(16));
      m_fullScreen.pack();
      m_fullScreen.setLocation(10, 10);

      m_fullScreen.setSelected(Boolean.parseBoolean(m_options
          .get("fullScreen")));
      getContentPane().add(m_fullScreen);
    }
    {
      m_muteSound = new CheckBox(translated.get(17));
      m_muteSound.pack();
      m_muteSound.setLocation(150, 10);

      m_muteSound.setSelected(Boolean.parseBoolean(m_options
          .get("soundMuted")));
      getContentPane().add(m_muteSound);
    }
    {
      m_disableMaps = new CheckBox(translated.get(48));
      m_disableMaps.pack();
      m_disableMaps.setLocation(10, 45);
      m_disableMaps.setSelected(Boolean.parseBoolean(m_options.get("disableMaps")));
      getContentPane().add(m_disableMaps);
    }
    {
      m_disableWeather = new CheckBox("Disable Weather");
      m_disableWeather.pack();
      m_disableWeather.setLocation(10, 78);
      m_disableWeather.setSelected(Boolean.parseBoolean(m_options.get("disableWeather")));
      getContentPane().add(m_disableWeather);
    }
View Full Code Here

TOP

Related Classes of mdes.slick.sui.CheckBox

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.