void () { myProperties.setTitle(myTitleTF.getText()); myProperties.setVendor(myVendorTF.getText()); myProperties.setDescription(myDescriptionEditorPane.getText()); myProperties.setAppClass(myAppClass.getText()); myProperties.setVersion(myVersionTF.getText()); myProperties.setWidth(myWidthTF.getText()); myProperties.setHeight(myHeightTF.getText()); myProperties.setHtmlTemplateFile(getSystemIndependentPath(myHtmlTemplate)); myProperties.setHtmlPlaceholderId(myHtmlPlaceholderIdTF.getText()); myProperties.setHtmlParamFile(getSystemIndependentPath(myHtmlParams)); myProperties.setParamFile(getSystemIndependentPath(myParams)); myProperties.setUpdateMode(myUpdateInBackgroundCB.isSelected() ? JavaFxPackagerConstants.UPDATE_MODE_BACKGROUND : JavaFxPackagerConstants.UPDATE_MODE_ALWAYS); myProperties.setEnabledSigning(myEnableSigningCB.isSelected()); myProperties.setConvertCss2Bin(myConvertCssToBinCheckBox.isSelected()); myProperties.setNativeBundle((String)myNativeBundleCB.getSelectedItem()); if (myDialog != null) { myProperties.setSelfSigning(myDialog.myPanel.mySelfSignedRadioButton.isSelected()); myProperties.setAlias(myDialog.myPanel.myAliasTF.getText()); myProperties.setKeystore(myDialog.myPanel.myKeystore.getText()); final String keyPass = String.valueOf((myDialog.myPanel.myKeypassTF.getPassword())); myProperties.setKeypass(!StringUtil.isEmptyOrSpaces(keyPass) ? Base64.getEncoder().encodeToString(keyPass.getBytes(StandardCharsets.UTF_8)) : null); final String storePass = String.valueOf(myDialog.myPanel.myStorePassTF.getPassword()); myProperties.setStorepass(!StringUtil.isEmptyOrSpaces(storePass) ? Base64.getEncoder().encodeToString(storePass.getBytes(StandardCharsets.UTF_8)) : null); } myProperties.setCustomManifestAttributes(myCustomManifestAttributes); myProperties.setIcons(myIcons); myProperties.setMsgOutputLevel((String)myMsgOutputLevel.getSelectedItem()); }