|
|
|
@ -163,6 +163,7 @@ public class EnvDetectorDialog extends JDialog {
|
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
detectButton.setForeground(Color.WHITE); |
|
|
|
|
detectButton.setToolTipText(buttonStatus.getDesc()); |
|
|
|
|
detectButton.addActionListener(event -> { |
|
|
|
|
if (buttonStatus.isNotExecuting()) { |
|
|
|
|
startDetecting(); |
|
|
|
@ -284,6 +285,7 @@ public class EnvDetectorDialog extends JDialog {
|
|
|
|
|
UIUtil.invokeLaterIfNeeded(() -> { |
|
|
|
|
// 刷新按钮
|
|
|
|
|
detectButton.setText(buttonStatus.getDesc()); |
|
|
|
|
detectButton.setToolTipText(detectButton.getText()); |
|
|
|
|
// 刷新面板
|
|
|
|
|
refreshBody(); |
|
|
|
|
}); |
|
|
|
@ -293,6 +295,7 @@ public class EnvDetectorDialog extends JDialog {
|
|
|
|
|
|
|
|
|
|
// 刷新按钮
|
|
|
|
|
detectButton.setText(buttonStatus.getDesc()); |
|
|
|
|
detectButton.setToolTipText(detectButton.getText()); |
|
|
|
|
if (buttonStatus == EnvDetectorButtonStatus.A_NEW) { |
|
|
|
|
this.resultSummaryPane = new JPanel(); |
|
|
|
|
this.resultSummaryPane.setBorder(BorderFactory.createEmptyBorder(0, 10, 0, 0)); |
|
|
|
|