public FSettings() {

        initComponents();
        addWindowListener(exit);
        setResizable(false);
        setLocationRelativeTo(null);
        
        //GENERAL
        if(!Data.settings.author.equals("own")) {
            rOtherAuthor.setSelected(true);
            tOtherAuthor.setText(Data.settings.author);
            tOtherAuthor.setEnabled(true);
        }
        
        tSource.setText(Data.settings.source);
        tPermission.setText(Data.settings.permission);
        
        cLicense.setModel(new DefaultComboBoxModel(License.values()));

        cLicense.setSelectedItem(Data.settings.license);
        if(Data.settings.license == License.OTHER) {
            tLicense.setEditable(true);
            tLicense.setText(Data.settings.licenseCustom);
        }

        tAttrib.setText(Data.settings.attribution);
        tCategories.setText(Data.settings.categories);
        tExtraText.setText(Data.settings.extraText);
        
        //FILE
        tQuickTemplatesTable.setAutoResizeMode(JTable.AUTO_RESIZE_ALL_COLUMNS);
        tQuickTemplatesTable.getColumnModel().getColumn(0).setMaxWidth(30);
        
        tCopyName.setSelected(Data.settings.copyName);
        tCopyDesc.setSelected(Data.settings.copyDescription);
        tCopyCats.setSelected(Data.settings.copyCategories);
        
        tCatHints.setSelected(Data.settings.showCatHints);
        
        //GALLERY
        cCreateGallery.setSelected(Data.settings.createGallery);
        cCreateGalleryActionPerformed(new ActionEvent(this, 0, null));
        tGalleryPage.setText(Data.settings.galleryPage);
        tGalleryHeader.setSelectedIndex(Data.settings.galleryHeader);
        tGalleryWidth.setValue(Data.settings.galleryWidth);
        tPositionTop.setSelected(Data.settings.galleryOnTop);
        tPositionBottom.setSelected(!Data.settings.galleryOnTop);
        
        //PROGRAM
        cReadHour.setSelected(Data.settings.readExifHour);
        cLoadSubdirectory.setSelected(Data.settings.loadSubdirectory);
        tDefaultDir.setText(Data.settings.defaultDir);
        
        cRenameAfterUpload.setSelected(Data.settings.renameAfterUpload);
        cServerMonitorEnabled.setSelected(Data.settings.isServerMonitorEnabled());
        cAskQuit.setSelected(Data.settings.askQuit);
        
        cFileDescSource.setSelectedIndex(Data.settings.fileDescSource);
        tFileDesc.setText(Data.settings.fileDescPath == null ? Data.text("settings-program-descfile-noselected") : Data.settings.fileDescPath);
        tUploadSummary.setText(Data.settings.uploadSummary == null ? "VicuñaUploader" : Data.settings.uploadSummary);
       
        setVisible(true);
        getRootPane().getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(escapeKeyStroke, "ESCAPE");
        getRootPane().getActionMap().put("ESCAPE", escapeAction);
        
        pDefault.setVisible(false);
        tUploadSummary.setVisible(false);
        renderPreview();
    }