mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
make methods chooser smaller
This commit is contained in:
+1
@@ -175,6 +175,7 @@ public class IntroduceParameterHandler extends IntroduceHandlerBase implements R
|
||||
superMethod.setMnemonic('U');
|
||||
panel.add(superMethod, BorderLayout.SOUTH);
|
||||
final JBList list = new JBList(validEnclosingMethods.toArray());
|
||||
list.setVisibleRowCount(5);
|
||||
list.setCellRenderer(new MethodCellRenderer());
|
||||
list.getSelectionModel().setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
|
||||
list.setSelectedIndex(0);
|
||||
|
||||
Reference in New Issue
Block a user