private KongaList createList() {
ListModel model = getListModel();
KongaListFactory listFactory = ComponentFactories.newKongaListFactory();
listFactory.setCellRenderer(new ListRenderer());
listFactory.setPrototypeValue("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
return listFactory.newList(model);
}
private ListModel getListModel() {
DefaultListModel model = new DefaultListModel();
Font font = TextStyles.DefaultListText.getFont();