|
|
@ -468,7 +468,6 @@ public class AlphaFineDialog extends UIDialog { |
|
|
|
private void buildRecommendList(final String searchText) { |
|
|
|
private void buildRecommendList(final String searchText) { |
|
|
|
SearchResult recommendModelList = RecommendSearchManager.getRecommendSearchManager().getLessSearchResult(searchText); |
|
|
|
SearchResult recommendModelList = RecommendSearchManager.getRecommendSearchManager().getLessSearchResult(searchText); |
|
|
|
for (AlphaCellModel object : recommendModelList) { |
|
|
|
for (AlphaCellModel object : recommendModelList) { |
|
|
|
AlphaFineHelper.checkCancel(); |
|
|
|
|
|
|
|
searchListModel.addElement(object); |
|
|
|
searchListModel.addElement(object); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -476,7 +475,6 @@ public class AlphaFineDialog extends UIDialog { |
|
|
|
private void buildRecentList(final String searchText) { |
|
|
|
private void buildRecentList(final String searchText) { |
|
|
|
SearchResult recentModelList = RecentSearchManager.getRecentSearchManger().getLessSearchResult(searchText); |
|
|
|
SearchResult recentModelList = RecentSearchManager.getRecentSearchManger().getLessSearchResult(searchText); |
|
|
|
for (AlphaCellModel object : recentModelList) { |
|
|
|
for (AlphaCellModel object : recentModelList) { |
|
|
|
AlphaFineHelper.checkCancel(); |
|
|
|
|
|
|
|
searchListModel.addElement(object); |
|
|
|
searchListModel.addElement(object); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -642,8 +640,7 @@ public class AlphaFineDialog extends UIDialog { |
|
|
|
UILabel label = new UILabel(new ImageIcon(getClass().getResource("/com/fr/design/mainframe/alphafine/images/opening.gif"))); |
|
|
|
UILabel label = new UILabel(new ImageIcon(getClass().getResource("/com/fr/design/mainframe/alphafine/images/opening.gif"))); |
|
|
|
label.setBorder(BorderFactory.createEmptyBorder(120, 0, 0, 0)); |
|
|
|
label.setBorder(BorderFactory.createEmptyBorder(120, 0, 0, 0)); |
|
|
|
rightSearchResultPane.add(label, BorderLayout.CENTER); |
|
|
|
rightSearchResultPane.add(label, BorderLayout.CENTER); |
|
|
|
validate(); |
|
|
|
refreshContainer(); |
|
|
|
repaint(); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
@ -683,6 +680,8 @@ public class AlphaFineDialog extends UIDialog { |
|
|
|
doSearch(searchTextField.getText()); |
|
|
|
doSearch(searchTextField.getText()); |
|
|
|
} |
|
|
|
} |
|
|
|
}, 50); |
|
|
|
}, 50); |
|
|
|
|
|
|
|
} else if (keyCode == KeyEvent.VK_UP) { |
|
|
|
|
|
|
|
return; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
doSearch(searchTextField.getText()); |
|
|
|
doSearch(searchTextField.getText()); |
|
|
|
|
|
|
|
|
|
|
|