try { Class clazz = SessionManager.getSession().getCGManager().getLookAndFeel().getClassLoader().loadClass("org.wings.plaf.css1.MenuBarClientCG");  menuBar.setCG((org.wings.plaf.MenuBarCG)clazz.newInstance()); } catch (Exception e) { System.err.println(e); }
    public Editor() {        menuBar = createMenu();        try {            Class clazz = SessionManager.getSession().getCGManager().getLookAndFeel().getClassLoader().loadClass("org.wings.plaf.css1.MenuBarClientCG");                        menuBar.setCG((org.wings.plaf.MenuBarCG)clazz.newInstance());        }        catch (Exception e) {            System.err.println(e);        }        getContentPane().add(menuBar);        toolbar = createToolbar();        textArea = new STextArea();        textArea.setColumns(80);        textArea.setRows(24);        textArea.setAttribute("width", "100%");                SForm form = new SForm();        form.add(toolbar);        form.add(textArea);        getContentPane().add(form);        saveResource = new EditorDynamicResource();        SIcon icon = new ResourceImageIcon("/desktop/penguin.png");        setIcon(icon);        addInternalFrameListener(this);    }