|
|
|
@ -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)); |
|
|
|
@ -358,6 +361,7 @@ public class EnvDetectorDialog extends JDialog {
|
|
|
|
|
} |
|
|
|
|
EnvDetectorItem item = items.get(i); |
|
|
|
|
tablePanel.updateCell(row, 2, new UILabel(item.getDescription())); |
|
|
|
|
tablePanel.updateCellToolTip(row, 2, item.getDescription()); |
|
|
|
|
DetectorResult result = item.getResult(); |
|
|
|
|
|
|
|
|
|
int detectRow = currentDetectIndex + 1; |
|
|
|
|