String (PsiClass[] classes, JComponent component) { GroupList groupList = new GroupList(classes); DialogBuilder builder = new DialogBuilder(component); builder.setCenterPanel(groupList); builder.setPreferredFocusComponent(groupList.list); builder.setTitle(TestngBundle.message("testng.choose.test.group")); return builder.show() != 0 ? null : groupList.getSelected(); }