return new NonOpaquePanel(new FlowLayout(FlowLayout.LEFT, 5, 0));
}
public void showHistory(final boolean byClickingToolbarButton, JTextField textField) {
FeatureUsageTracker.getInstance().triggerFeatureUsed("find.recent.search");
FindSettings settings = FindSettings.getInstance();
String[] recent = textField == searchField ? settings.getRecentFindStrings() : settings.getRecentReplaceStrings();
JBList list = new JBList((Object[]) ArrayUtil.reverseArray(recent));
CompatibilityUtil.showSearchCompletionPopup(byClickingToolbarButton, toolbarComponent, list, "Recent Searches", textField);
}