cancelButton = new JButton(icons.getIcon(IconManager.CANCEL)); cancelButton.setText("Cancel");
cancelButton = new JButton("Cancel");
    private void initComponents()    {        IconManager icons = IconManager.getInstance();        saveButton = new JButton(icons.getIcon(IconManager.SAVE));        saveButton.setText("Save As");        saveButton.setToolTipText(                UIUtilities.formatToolTipText("Save the preview image."));        cancelButton = new JButton(icons.getIcon(IconManager.CANCEL));        cancelButton.setText("Cancel");        cancelButton.setToolTipText(                UIUtilities.formatToolTipText("Close without saving."));        canvas = new ImgSaverPreviewerCanvas(this);        layeredPane = new JLayeredPane();        layeredPane.add(canvas, new Integer(0));    }