|
|
@ -282,6 +282,7 @@ public class AlphaFineFrame extends JFrame { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void mousePressed(MouseEvent e) { |
|
|
|
public void mousePressed(MouseEvent e) { |
|
|
|
searchTextField.setText(StringUtils.EMPTY); |
|
|
|
searchTextField.setText(StringUtils.EMPTY); |
|
|
|
|
|
|
|
beforeSearchStr = StringUtils.EMPTY; |
|
|
|
clearLabel.setVisible(false); |
|
|
|
clearLabel.setVisible(false); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -543,6 +544,8 @@ public class AlphaFineFrame extends JFrame { |
|
|
|
if (StringUtils.isNotEmpty(searchTextField.getText())) { |
|
|
|
if (StringUtils.isNotEmpty(searchTextField.getText())) { |
|
|
|
clearLabel.setVisible(true); |
|
|
|
clearLabel.setVisible(true); |
|
|
|
SearchTooltipPopup.getInstance().show(searchTextFieldWrapperPane); |
|
|
|
SearchTooltipPopup.getInstance().show(searchTextFieldWrapperPane); |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
beforeSearchStr = StringUtils.EMPTY; |
|
|
|
} |
|
|
|
} |
|
|
|
AlphaFineToolTipList alphaFineToolTipList = SearchTooltipPopup.getInstance().getAlphaFineToolTipList(); |
|
|
|
AlphaFineToolTipList alphaFineToolTipList = SearchTooltipPopup.getInstance().getAlphaFineToolTipList(); |
|
|
|
if (e.getKeyCode() == KeyEvent.VK_ENTER) { |
|
|
|
if (e.getKeyCode() == KeyEvent.VK_ENTER) { |
|
|
|