Browse Source

Pull request #4840: REPORT-53614 远程环境检测及同步-同步jar时有问题

Merge in DESIGN/design from ~PENGDA/design:release/10.0 to release/10.0

* commit 'a4ab670616eab1b407de26ecef01757cf877787d':
  REPORT-53614 远程环境检测及同步-同步jar时有问题
zheng-1641779399395
pengda 4 years ago
parent
commit
58b2bd3746
  1. 5
      designer-base/src/main/java/com/fr/env/CheckServiceDialog.java

5
designer-base/src/main/java/com/fr/env/CheckServiceDialog.java vendored

@ -167,8 +167,7 @@ public class CheckServiceDialog extends JDialog implements ActionListener {
centerPanel.add(detailsPane, BorderLayout.CENTER);
JPanel buttonPanel = FRGUIPaneFactory.createBorderLayout_M_Pane();
buttonPanel.setBorder(BorderFactory.createEmptyBorder(0, 10, 10, 10));
boolean Sync = false;
if (Sync && isOnline()) {
if (isOnline()) {
ignoreButton = new UIButton(Toolkit.i18nText("Fine-Design_Basic_Sync_Ignore"));
ignoreButton.addActionListener(this);
syncButton = new UIButton(Toolkit.i18nText("Fine-Design_Basic_Sync_To_Local"));
@ -184,6 +183,8 @@ public class CheckServiceDialog extends JDialog implements ActionListener {
buttonPanel.add(progressBar, BorderLayout.CENTER);
buttonPanel.add(syncButton, BorderLayout.EAST);
} else {
UILabel adviceLabel = new UILabel(Toolkit.i18nText("Fine-Design_Basic_Sync_Suggestion"));
centerPanel.add(adviceLabel, BorderLayout.SOUTH);
UIButton okButton = new UIButton(Toolkit.i18nText("Fine-Design_Basic_Remote_Design_Button_Confirm"));
okButton.addActionListener(this);
buttonPanel.add(okButton, BorderLayout.EAST);

Loading…
Cancel
Save