Exemple #1
0
 private JMenuItem getMenuItem_OpenLayout() {
   final SkinnedMenuItem menuItem = new SkinnedMenuItem("Open...");
   menuItem.setIcon((showIcons ? MenuUtil.getMenuIcon(FSkinProp.ICO_OPENLAYOUT) : null));
   menuItem.addActionListener(getOpenLayoutAction());
   return menuItem;
 }
Exemple #2
0
 private JMenuItem getMenuItem_RevertLayout() {
   final SkinnedMenuItem menuItem = new SkinnedMenuItem("Refresh");
   menuItem.setIcon((showIcons ? MenuUtil.getMenuIcon(FSkinProp.ICO_REVERTLAYOUT) : null));
   menuItem.addActionListener(getRevertLayoutAction());
   return menuItem;
 }
Exemple #3
0
 private JMenuItem getMenuItem_SaveLayout() {
   final SkinnedMenuItem menuItem = new SkinnedMenuItem("Save Current Layout");
   menuItem.setIcon((showIcons ? MenuUtil.getMenuIcon(FSkinProp.ICO_SAVELAYOUT) : null));
   menuItem.addActionListener(getSaveLayoutAction());
   return menuItem;
 }