System.out.println(showPreviewS);
    public MainFrame() {                mGalleryComm = new GalleryComm();        mFileList = new ArrayList();        mAlbumList = new ArrayList();                //-- load the properties file ---        mPropertiesFile = new PropertiesFile("remote");        String currentDirectory = (String) mPropertiesFile.getProperty("filedialogpath");        if (currentDirectory != null) {            AddFileDialog.currentDirectory = new File(currentDirectory);        }                String showPreviewS = (String) mPropertiesFile.getProperty("showpreview");        System.out.println(showPreviewS);        if (showPreviewS != null) {            showPreview = Boolean.valueOf(showPreviewS).booleanValue();        }                String showThumbnailsS = (String) mPropertiesFile.getProperty("showthumbnails");        if (showThumbnailsS != null) {            showThumbnails = Boolean.valueOf(showThumbnailsS).booleanValue();        }                String thumbnailWidthS = (String) mPropertiesFile.getProperty("thumbnailwidth");        String thumbnailHeightS = (String) mPropertiesFile.getProperty("thumbnailheight");                if (thumbnailWidthS != null && thumbnailHeightS != null) {            thumbnailSize = new Dimension(Integer.parseInt(thumbnailWidthS), Integer.parseInt(thumbnailHeightS));        }                String thumbnailQuality = (String) mPropertiesFile.getProperty("thumbnailquality");        if (thumbnailQuality != null && thumbnailQuality.toLowerCase().startsWith("hi")) {            highQualityThumbnails = true;        }                String showPathS = (String) mPropertiesFile.getProperty("showpath");        if (showPathS != null) {            showPath = Boolean.valueOf(showPathS).booleanValue();        }    }