menu.add(new JMenuItem( controller.getAction(HiViewerControl.VIEW_CGCI)));
    private JMenu createViewMenu()    {        JMenu menu = new JMenu("View");        menu.setMnemonic(KeyEvent.VK_V);        //menu.add(new JMenuItem(controller.getAction(HiViewerControl.VIEW_PDI)));        menu.add(new JMenuItem(                            controller.getAction(HiViewerControl.VIEW_CGCI)));        //menu.add(new JSeparator(JSeparator.HORIZONTAL));        JCheckBoxMenuItem item = new JCheckBoxMenuItem();        item.setSelected(false);        item.setText(TreeViewAction.NAME);        item.setAction(controller.getAction(HiViewerControl.TREE_VIEW));        //menu.add(item);        item = new JCheckBoxMenuItem();        item.setSelected(true);        item.setAction(controller.getAction(HiViewerControl.CLIPBOARD_VIEW));        item.setText(ClipBoardViewAction.NAME);        //menu.add(item);        item = new JCheckBoxMenuItem();        item.setSelected(model.isTitleBarVisible());        item.setAction(controller.getAction(HiViewerControl.SHOW_TITLEBAR));        menu.add(item);        //item = new JCheckBoxMenuItem();        //item.setSelected(model.isRollOver());        //item.setAction(controller.getAction(HiViewerControl.ROLL_OVER));        //menu.add(item);        menu.add(new JSeparator(SwingConstants.HORIZONTAL));        JMenuItem mi = new JMenuItem(        			controller.getAction(HiViewerControl.ZOOM_IN));        mi.setText(ZoomInAction.NAME);        menu.add(mi);        mi = new JMenuItem(controller.getAction(HiViewerControl.ZOOM_OUT));        mi.setText(ZoomOutAction.NAME);        menu.add(mi);        mi = new JMenuItem(controller.getAction(HiViewerControl.ZOOM_FIT));        mi.setText(ZoomFitAction.NAME);        menu.add(mi);        menu.add(new JSeparator(SwingConstants.HORIZONTAL));        menu.add(createLayoutMenu());        return menu;    }