Examples of EditorThemeProperties


Examples of net.sf.robocode.ui.editor.theme.EditorThemeProperties

      ComboBoxUtil.setSelected(getThemeComboBox(), themeName);
      EditorPropertiesManager.getEditorProperties().setThemeName(themeName);
      EditorPropertiesManager.saveEditorProperties();

      EditorThemeProperties themeProps = EditorThemePropertiesManager.getCurrentEditorThemeProperties();
      themeProps.setThemeName(themeName);

      themeProps.setFontName(ComboBoxUtil.getSelectedName(getFontNameComboBox()));
      themeProps.setFontSize(Integer.parseInt(ComboBoxUtil.getSelectedName(getFontSizeComboBox())));

      EditorThemePropertiesManager.saveEditorThemeProperties(file);

      dispose(); // Only when save was successful
View Full Code Here

Examples of net.sf.robocode.ui.editor.theme.EditorThemeProperties

      editor.addToWindowMenu(this);

      editorPanel = new EditorPanel();
      setContentPane(editorPanel);

      EditorThemeProperties currentThemeProps = EditorThemePropertiesManager.getCurrentEditorThemeProperties();
      Font font = currentThemeProps.getFont();
      editorPanel.setFont(font);

      // Make sure the source editor window gets focus with a blinking cursor
      SwingUtilities.invokeLater(new Runnable() {
        @Override
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.