private JMenuItem getMenuItem_OpenLayout() { final SkinnedMenuItem menuItem = new SkinnedMenuItem("Open..."); menuItem.setIcon((showIcons ? MenuUtil.getMenuIcon(FSkinProp.ICO_OPENLAYOUT) : null)); menuItem.addActionListener(getOpenLayoutAction()); return menuItem; }
private JMenuItem getMenuItem_RevertLayout() { final SkinnedMenuItem menuItem = new SkinnedMenuItem("Refresh"); menuItem.setIcon((showIcons ? MenuUtil.getMenuIcon(FSkinProp.ICO_REVERTLAYOUT) : null)); menuItem.addActionListener(getRevertLayoutAction()); return menuItem; }
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; }