コード例 #1
0
 /*-------------------------------------------------------------------------*/
 public void refresh() {
   if (list.getItems().size() > 0) {
     list.setSelected(list.getItems().get(0));
   }
 }
コード例 #2
0
 /*-------------------------------------------------------------------------*/
 public void remove(PlayerCharacter pc) {
   characters.remove(pc);
   list.setItems(getGuildCharactersList(characters));
   list.setSelected(null);
 }