saveButton.setAttribute("border", "1px outset");
saveButton.setAttribute("border", "black thin outset");
    protected SToolbar createToolbar() {        try {            SButton saveButton = new SButton(new ResourceImageIcon("/desktop/filesave.png"));            saveButton.setAttribute("border", "1px outset");            saveButton.setToolTipText("save");            saveButton.addActionListener(new ActionListener() {                public void actionPerformed(ActionEvent evt) {                    save();                }            });            SButton revertButton = new SButton(new ResourceImageIcon("/desktop/filerevert.png"));            revertButton.setToolTipText("revert");            revertButton.addActionListener(new ActionListener() {                public void actionPerformed(ActionEvent evt) {                    revert();                }            });            SButton closeButton = new SButton(new ResourceImageIcon("/desktop/fileclose.png"));            closeButton.setToolTipText("close");            closeButton.addActionListener(new ActionListener() {                public void actionPerformed(ActionEvent evt) {                    close();                }            });            SButton cutButton = new SButton(new ResourceImageIcon("/desktop/editcut.png"));            cutButton.setToolTipText("cut");            cutButton.addActionListener(new ActionListener() {                public void actionPerformed(ActionEvent evt) {                    cut();                }            });            SButton copyButton = new SButton(new ResourceImageIcon("/desktop/editcopy.png"));            copyButton.setToolTipText("copy");            copyButton.addActionListener(new ActionListener() {                public void actionPerformed(ActionEvent evt) {                    copy();                }            });            SButton pasteButton = new SButton(new ResourceImageIcon("/desktop/editpaste.png"));            pasteButton.setToolTipText("paste");            pasteButton.addActionListener(new ActionListener() {                public void actionPerformed(ActionEvent evt) {                    paste();                }            });            SToolbar toolbar = new SToolbar();            toolbar.add(saveButton);            toolbar.add(revertButton);            toolbar.add(closeButton);            toolbar.add(cutButton);            toolbar.add(copyButton);            toolbar.add(pasteButton);            return toolbar;        }        catch (Exception e) {            System.err.println(e.getMessage());            e.printStackTrace(System.err);        }        return new SToolbar();    }