GP-1745 - Updated the program chooser dialog to focus the filter field

by default so users can start filtering when the dialog opens
This commit is contained in:
dragonmacher 2022-02-15 16:59:29 -05:00
parent 0f3aa2b9de
commit 03669ba808
4 changed files with 29 additions and 24 deletions

View file

@ -362,6 +362,10 @@ public class ProjectDataTreePanel extends JPanel {
tree.setFilterVisible(enabled);
}
public Component getFilterField() {
return tree.getFilterField();
}
public String[] getExpandedPathsByNodeName() {
List<TreePath> expandedPaths = tree.getExpandedPaths(root);
if (expandedPaths == null || expandedPaths.size() == 0) {