|
|
|
@ -52,7 +52,9 @@ import java.util.stream.Stream;
|
|
|
|
|
public class EnvDetectorDialog extends JDialog { |
|
|
|
|
|
|
|
|
|
private static final ImageIcon LOADING_ICON = getLoadingIcon(); |
|
|
|
|
public static final int TIMEOUT = 1000; |
|
|
|
|
private static final int TIMEOUT = 1000; |
|
|
|
|
|
|
|
|
|
private static final Color SUCCESS_COLOR = new Color(22, 193, 83); |
|
|
|
|
|
|
|
|
|
private final JPanel body; |
|
|
|
|
|
|
|
|
@ -273,7 +275,7 @@ public class EnvDetectorDialog extends JDialog {
|
|
|
|
|
if (success) { |
|
|
|
|
resultSummaryPane.add(new UILabel(Toolkit.i18nText("Fine-Design_Basic_Detect_Result_Label")), BorderLayout.WEST); |
|
|
|
|
UILabel successLabel = new UILabel(Toolkit.i18nText("Fine-Design_Basic_Detect_Result_Success")); |
|
|
|
|
successLabel.setForeground(Color.GREEN); |
|
|
|
|
successLabel.setForeground(SUCCESS_COLOR); |
|
|
|
|
resultSummaryPane.add(successLabel, BorderLayout.CENTER); |
|
|
|
|
} else { |
|
|
|
|
resultSummaryPane.add(new UILabel(Toolkit.i18nText("Fine-Design_Basic_Detect_Result_Label")), BorderLayout.WEST); |
|
|
|
|