GP-5769 - Updated dialogs with combo boxes to have consistent behavior

when the Enter key is pressed
This commit is contained in:
dragonmacher
2025-08-27 19:47:35 -04:00
parent dc09c94c81
commit dc72238178
20 changed files with 46 additions and 137 deletions

View File

@@ -257,7 +257,7 @@ public class PopulateFidDialog extends DialogComponentProvider {
List<FidFile> fidFileList = FidFileManager.getInstance().getUserAddedFiles();
FidFile[] files = fidFileList.toArray(new FidFile[fidFileList.size()]);
fidFileComboBox = new GComboBox<>(files);
fidFileComboBox.addActionListener(e -> updateLibraryChoices());
fidFileComboBox.addItemListener(e -> updateLibraryChoices());
fidFileComboBox.getAccessibleContext().setAccessibleName("Fid File");
return fidFileComboBox;
}