168169170171172173174175176177178
itemsList = new ResultsList(model) { @Override protected ResultGroupPanel createGroupPanel(ResultGroup group) { return new ResultGroupPanel(group.getName(), group.getName(), GROUP_COLOR_1, GROUP_COLOR_2); } }; itemsList.addActionListener(listener);