Package org.freeplane.core.ui.components

Examples of org.freeplane.core.ui.components.BlindIcon


  }

  private void addAction(final JMenu menu, final AbstractAction action) {
    final JMenuItem item = menu.add(action);
    MenuBuilder.setLabelAndMnemonic(item, (String) action.getValue(Action.NAME));
    item.setIcon(new BlindIcon(UIBuilder.ICON_SIZE));
  }
View Full Code Here


    final AbstractAction[] actionList = new AbstractAction[] { gotoAction,  replaceSelectedAction,
            replaceAllAction, exportAction, disposeAction };
    for (int i = 0; i < actionList.length; i++) {
      final AbstractAction action = actionList[i];
      final JMenuItem item = menu.add(action);
      item.setIcon(new BlindIcon(UIBuilder.ICON_SIZE));
    }
    menuBar.add(menu);
    dialog.setJMenuBar(menuBar);
    final ListSelectionModel rowSM = tableView.getSelectionModel();
    rowSM.addListSelectionListener(new ListSelectionListener() {
View Full Code Here

TOP

Related Classes of org.freeplane.core.ui.components.BlindIcon

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.