diff --git a/designer-realize/src/main/java/com/fr/start/CollectUserInformationDialog.java b/designer-realize/src/main/java/com/fr/start/CollectUserInformationDialog.java index c319af3413..7862e34827 100644 --- a/designer-realize/src/main/java/com/fr/start/CollectUserInformationDialog.java +++ b/designer-realize/src/main/java/com/fr/start/CollectUserInformationDialog.java @@ -56,6 +56,7 @@ public class CollectUserInformationDialog extends UIDialog { message = com.fr.design.i18n.Toolkit.i18nText("FR-Designer_Activate_Activated_Successfully"); JOptionPane.showMessageDialog(CollectUserInformationDialog.this, message); DesignerEnvManager.getEnvManager().setActivationKey(keyValue); + DesignerEnvManager.getEnvManager().saveXMLFile(); doOK(); } else { message = com.fr.design.i18n.Toolkit.i18nText("FR-Designer_Activate_Activation_Code_Invalid"); @@ -95,7 +96,6 @@ public class CollectUserInformationDialog extends UIDialog { keyTextField = new UITextField(); keyPane.add(keyTextField, BorderLayout.CENTER); keyTextField.setMaximumSize(new Dimension(keyTextField.getPreferredSize().width, 25)); - macSystemHit(keyPane); UIButton getKeyButton = new UIButton( com.fr.design.i18n.Toolkit.i18nText("FR-Designer_Activate_Get_FR_Activation_Code")); @@ -119,15 +119,6 @@ public class CollectUserInformationDialog extends UIDialog { GUICoreUtils.centerWindow(this); } - private void macSystemHit(JPanel keyPane) { - if (OperatingSystem.isMacOS()) { - UITextArea macHit = new UITextArea(); - macHit.setText(com.fr.design.i18n.Toolkit.i18nText("FR-Designer-Collect_OSXTips")); - macHit.setEditable(false); - keyPane.add(macHit, BorderLayout.SOUTH); - } - } - @Override protected void applyClosingAction() { addWindowListener(new WindowAdapter() {