|
|
|
@ -5,6 +5,7 @@ import com.fr.design.RestartHelper;
|
|
|
|
|
import com.fr.design.dialog.FineJOptionPane; |
|
|
|
|
import com.fr.design.gui.ibutton.UIButton; |
|
|
|
|
import com.fr.design.gui.ilable.UILabel; |
|
|
|
|
import com.fr.design.i18n.DesignSizeI18nManager; |
|
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
|
import com.fr.design.layout.TableLayout; |
|
|
|
@ -113,10 +114,10 @@ public class CheckServiceDialog extends JDialog implements ActionListener {
|
|
|
|
|
font = font.applySize(15).applyStyle(1); |
|
|
|
|
UILabel label = new UILabel(Toolkit.i18nText("Fine-Design_Basic_Sync_Branch_Inconsistency")); |
|
|
|
|
label.setFont(font); |
|
|
|
|
label.setPreferredSize(new Dimension(650, 30)); |
|
|
|
|
label.setPreferredSize(DesignSizeI18nManager.getInstance().i18nDimension("com.fr.design.version.detail.label")); |
|
|
|
|
|
|
|
|
|
UILabel label2 = new UILabel(Toolkit.i18nText("Fine-Design_Basic_Sync_Inconsistency_Risk")); |
|
|
|
|
label2.setPreferredSize(new Dimension(600, 30)); |
|
|
|
|
label2.setPreferredSize(DesignSizeI18nManager.getInstance().i18nDimension("com.fr.design.version.detail.label")); |
|
|
|
|
verticalPanel.add(label); |
|
|
|
|
verticalPanel.add(label2); |
|
|
|
|
|
|
|
|
@ -201,7 +202,7 @@ public class CheckServiceDialog extends JDialog implements ActionListener {
|
|
|
|
|
this.add(topPanel, BorderLayout.NORTH); |
|
|
|
|
this.add(centerPanel, BorderLayout.CENTER); |
|
|
|
|
this.add(buttonPanel, BorderLayout.SOUTH); |
|
|
|
|
this.setSize(new Dimension(GeneralContext.getLocale().equals(Locale.US) ? 750 : 600, 500)); |
|
|
|
|
this.setSize(DesignSizeI18nManager.getInstance().i18nDimension("com.fr.design.version.detail.dialog")); |
|
|
|
|
this.addWindowListener(new WindowAdapter() { |
|
|
|
|
@Override |
|
|
|
|
public void windowClosing(WindowEvent e) { |
|
|
|
|