mPropertiesFile.setProperty("showpreview",String.valueOf(showPreview));
    public void jMenuOptionsPreviewItemSelected(java.awt.event.ItemEvent e) {        if (e.getStateChange() == ItemEvent.SELECTED){            jPreview.show();            showPreview = true;        } else {            jPreview.hide();            showPreview = false;        }        mPropertiesFile.setProperty("showpreview",String.valueOf(showPreview));    }