if (image == null) { UserNotifier un = control.getRegistry().getUserNotifier(); un.notifyInfo("Save image", saveMessage); cancelPreviewSaveImage(); return; }
    private void handleSavePinBottomLeft()    {        JCheckBox box = view.selection.paintingOnOff;        Color c = null;        if (box.isSelected()) {            int i = view.selection.colors.getSelectedIndex();            c = colorSelection[i];        }         image = control.getPinOnSideBottomLeft(box.isSelected(), c);           lensImage = null;        saveMessage = BOTH_MSG;        preview.setImage(image);        UIUtilities.centerAndShow(preview);    }