/*-------------------------------------------------------------------------*/ public void refresh() { if (list.getItems().size() > 0) { list.setSelected(list.getItems().get(0)); } }
/*-------------------------------------------------------------------------*/ public void remove(PlayerCharacter pc) { characters.remove(pc); list.setItems(getGuildCharactersList(characters)); list.setSelected(null); }