frame.setAttribute("margin", "4px");
    public Desktop() {        frame = new SFrame("Desktop");        SContainer contentPane = frame.getContentPane();        editorNumber = 0;        SMenuBar menuBar = createMenu();        contentPane.add(menuBar);        desktop = new SDesktopPane();        // add the frames to the window-menu ..        desktop.addContainerListener(new SContainerListener() {                public void componentAdded(SContainerEvent e) {                    SInternalFrame frame = (SInternalFrame) e.getChild();                    SMenuItem windowItem = new WindowMenuItem(desktop, frame);                    windowMenu.add(windowItem);                }                public void componentRemoved(SContainerEvent e) {                    SInternalFrame frame = (SInternalFrame) e.getChild();                    SMenuItem windowItem = new WindowMenuItem(frame);                    windowMenu.remove(windowItem);                }            });        contentPane.add(desktop);                newEditor().setText(getStory());        frame.show();    }