List<Component> () { suggestedFileList = new JBList<String>(suggestedFileNames); suggestedFileList.setSelectionInterval(0, suggestedFileList.getItemsCount()); var scrollPane = new JBScrollPane(suggestedFileList); scrollPane.setAlignmentX(Component.LEFT_ALIGNMENT); qfCheckbox = new JCheckBox(); qfCheckbox.setText(JavaBundle.message("generate.quickfix.files")); qfCheckbox.setAlignmentX(Component.LEFT_ALIGNMENT); qfCheckbox.setSelected(false); extensionField = new JBTextField(); extensionField.getEmptyText().setText(JavaBundle.message("generate.file.extension.text")); extensionField.setAlignmentX(Component.LEFT_ALIGNMENT); return List.of(scrollPane, qfCheckbox, extensionField); }