|
|
|
@ -17,6 +17,7 @@ import javax.swing.JDialog;
|
|
|
|
|
import javax.swing.JLabel; |
|
|
|
|
import javax.swing.JPanel; |
|
|
|
|
import javax.swing.JTextArea; |
|
|
|
|
import javax.swing.JTextPane; |
|
|
|
|
import java.awt.BorderLayout; |
|
|
|
|
import java.awt.Dimension; |
|
|
|
|
import java.awt.Frame; |
|
|
|
@ -55,15 +56,20 @@ public class CheckServiceDialog extends JDialog implements ActionListener {
|
|
|
|
|
JLabel label = new JLabel(Toolkit.i18nText("Fine-Design_Basic_Remote_Design_Branch_Inconsistency")); |
|
|
|
|
label.setFont(font); |
|
|
|
|
label.setPreferredSize(new Dimension(650,30)); |
|
|
|
|
String delimiter = GeneralContext.getLocale().equals(Locale.US)? "<br>":"/"; |
|
|
|
|
JLabel label2 = new JLabel("<html>"+Toolkit.i18nText("Fine-Design_Basic_Remote_Design_Local_Designer") |
|
|
|
|
+ localBranch + "/" + Toolkit.i18nText("Fine-Design_Basic_Remote_Design_Remote_Server") + remoteBranch+"</html>"); |
|
|
|
|
+ localBranch + delimiter + Toolkit.i18nText("Fine-Design_Basic_Remote_Design_Remote_Server") + remoteBranch+"</html>"); |
|
|
|
|
label2.setPreferredSize(new Dimension(600,30)); |
|
|
|
|
JLabel label3 = new JLabel(Toolkit.i18nText("Fine-Design_Basic_Remote_Design_Branch_Need_Update")); |
|
|
|
|
label3.setPreferredSize(new Dimension(500,30)); |
|
|
|
|
|
|
|
|
|
JTextPane tipsPane = new JTextPane(); |
|
|
|
|
tipsPane.setEditable(false); |
|
|
|
|
tipsPane.setBackground(verticalPanel.getBackground()); |
|
|
|
|
tipsPane.setPreferredSize(new Dimension(500,30)); |
|
|
|
|
tipsPane.setText(Toolkit.i18nText("Fine-Design_Basic_Remote_Design_Branch_Need_Update")); |
|
|
|
|
|
|
|
|
|
verticalPanel.add(label); |
|
|
|
|
verticalPanel.add(label2); |
|
|
|
|
verticalPanel.add(label3); |
|
|
|
|
verticalPanel.add(tipsPane); |
|
|
|
|
|
|
|
|
|
topPanel.add(imagePanel,BorderLayout.WEST); |
|
|
|
|
topPanel.add(verticalPanel,BorderLayout.CENTER); |
|
|
|
|