PositionManager pm = PropertiesManager.getPositionManager(); pm.setMainXY(p); pm.setMainDimension(dim); pm.setDownloadWidths(downloadWidths); pm.setUploadWidths(uploadWidths); pm.setServerWidths(serverWidths); pm.setShareWidths(shareWidths); pm.save();
    private void closeDialog(WindowEvent evt) {        int[] downloadWidths = DownloadPanel._this.getColumnWidths();        int[] uploadWidths = UploadPanel._this.getColumnWidths();        int[] serverWidths = ServerPanel._this.getColumnWidths();        int[] shareWidths = SharePanel._this.getColumnWidths();        Dimension dim = getSize();        Point p = getLocationOnScreen();        setVisible(false);        ApplejuiceFassade.getInstance().stopXMLCheck();        if (rewriteProperties) {            restorePropertiesXml();        }        String nachricht = "appleJuice-Core-GUI wird beendet...";        if (logger.isEnabledFor(Level.INFO)) {            logger.info(nachricht);        }        System.out.println(nachricht);        if (!rewriteProperties) {            einstellungenSpeichern();            PositionManager pm = PropertiesManager.getPositionManager();            pm.setMainXY(p);            pm.setMainDimension(dim);            pm.setDownloadWidths(downloadWidths);            pm.setUploadWidths(uploadWidths);            pm.setServerWidths(serverWidths);            pm.setShareWidths(shareWidths);            pm.save();        }        if (useTrayIcon) {            WindowsTrayIcon.cleanUp();        }        System.exit(0);    }