Package xgenerator.ui.swing.adapter

Examples of xgenerator.ui.swing.adapter.LookAndFeelAdapter


   
    lookAndFeelSettingMenu.setIcon(IconUtils.createImageIcon(ICON_CLASS_PATH + "color_wheel.png"));
    lookAndFeelSettingMenu.setMnemonic('L');
    final UIManager.LookAndFeelInfo[] lookAndFeelInfos = UIManager.getInstalledLookAndFeels();
    final String defaultLookAndFeelName = UIManager.getLookAndFeel().getName();
    final ActionListener lookAndFeelActionListener = new LookAndFeelAdapter(this);
    for (int i = 0; i < lookAndFeelInfos.length; i++) {
      final String oneLookAndFeelName = lookAndFeelInfos[i].getName();
      JRadioButtonMenuItem oneLookAndFeelMenuItem = new JRadioButtonMenuItem(oneLookAndFeelName);
      final String className = lookAndFeelInfos[i].getClassName();
      if(defaultLookAndFeelName.equals(oneLookAndFeelName)) {
View Full Code Here

TOP

Related Classes of xgenerator.ui.swing.adapter.LookAndFeelAdapter

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.