|
|
|
@ -167,7 +167,8 @@ 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)); |
|
|
|
|
if (isOnline()) { |
|
|
|
|
boolean Sync = false; |
|
|
|
|
if (Sync && 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")); |
|
|
|
@ -183,8 +184,6 @@ 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); |
|
|
|
|