mPropertiesFile.setProperty("showthumbnails", ""+showThumbnails); mPropertiesFile.setProperty("thumbnailwidth", ""+thumbnailSize.width); mPropertiesFile.setProperty("thumbnailheight", ""+thumbnailSize.height);
    void thisWindowClosing(java.awt.event.WindowEvent e) {                mPropertiesFile.setProperty("url", jTextURL.getText());        mPropertiesFile.setProperty("username", jTextUsername.getText());                mPropertiesFile.setProperty("mainwidth", ""+getSize().width);        mPropertiesFile.setProperty("mainheight", ""+getSize().height);        mPropertiesFile.setProperty("mainx", ""+getLocation().x);        mPropertiesFile.setProperty("mainy", ""+getLocation().y);                if (showPreview) {            mPropertiesFile.setProperty("previewwidth", ""+jPreview.getSize().width);            mPropertiesFile.setProperty("previewheight", ""+jPreview.getSize().height);            mPropertiesFile.setProperty("previewx", ""+jPreview.getLocation().x);            mPropertiesFile.setProperty("previewy", ""+jPreview.getLocation().y);        }                if (AddFileDialog.currentDirectory != null) {            mPropertiesFile.setProperty("filedialogpath", ""+AddFileDialog.currentDirectory.getPath());        }                //mPropertiesFile.setProperty("showthumbnails", ""+showThumbnails);        //mPropertiesFile.setProperty("showpreview", ""+showPreview);        //mPropertiesFile.setProperty("thumbnailwidth", ""+thumbnailSize.width);        //mPropertiesFile.setProperty("thumbnailheight", ""+thumbnailSize.height);                mPropertiesFile.write();                setVisible(false);        dispose();        System.exit(0);    }