|
|
@ -166,6 +166,19 @@ public class ConnectionTableProcedurePane extends BasicPane { |
|
|
|
searchField.setBorderPainted(false); |
|
|
|
searchField.setBorderPainted(false); |
|
|
|
searchField.setPlaceholder(Toolkit.i18nText("Fine-Design_Basic_Table_Search")); |
|
|
|
searchField.setPlaceholder(Toolkit.i18nText("Fine-Design_Basic_Table_Search")); |
|
|
|
searchField.getDocument().addDocumentListener(searchListener); |
|
|
|
searchField.getDocument().addDocumentListener(searchListener); |
|
|
|
|
|
|
|
searchField.addMouseListener(new MouseAdapter() { |
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public void mouseEntered(MouseEvent e) { |
|
|
|
|
|
|
|
super.mouseEntered(e); |
|
|
|
|
|
|
|
searchPane.setBorder(BorderFactory.createLineBorder(UIConstants.CHECKBOX_HOVER_SELECTED)); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public void mouseExited(MouseEvent e) { |
|
|
|
|
|
|
|
super.mouseExited(e); |
|
|
|
|
|
|
|
searchPane.setBorder(BorderFactory.createLineBorder(UIConstants.TOOLBAR_BORDER_COLOR)); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
// 搜索图标
|
|
|
|
// 搜索图标
|
|
|
|
UILabel searchLabel = new UILabel(IconUtils.readIcon("/com/fr/design/images/data/search")); |
|
|
|
UILabel searchLabel = new UILabel(IconUtils.readIcon("/com/fr/design/images/data/search")); |
|
|
|
searchLabel.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 5)); |
|
|
|
searchLabel.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 5)); |
|
|
|