|
|
|
@ -599,9 +599,10 @@ public class AlphaFineFrame extends JFrame {
|
|
|
|
|
// 坑 isShowing返回false 即使textField有内容 getText返回的也是空
|
|
|
|
|
if (searchTextField.isShowing() && StringUtils.isEmpty(searchTextField.getText())) { |
|
|
|
|
SearchTooltipPopup.getInstance().hide(); |
|
|
|
|
clearLabel.setVisible(false); |
|
|
|
|
switchType(selectedType); |
|
|
|
|
} |
|
|
|
|
else if (searchTextField.hasFocus()) { |
|
|
|
|
} else if (searchTextField.hasFocus()) { |
|
|
|
|
clearLabel.setVisible(true); |
|
|
|
|
SearchTooltipPopup.getInstance().show(searchTextFieldWrapperPane); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|