return factory;
}
private DefaultComponentController<JList> createController() {
DefaultComponentController<JList> listController = new DefaultComponentController<JList>();
listController.setPopupMenuRequestHandler(new PopupMenuRequestHandler() {
@Override
public boolean popupMenuRequested(Component source, int x, int y) {
if (deleteAction != null) {
KongaPopupMenu popup = new KongaPopupMenu();