lisBoardsSelected.replaceItem(newVar + ": " + name, newVar);
((DefaultListModel) lisBoardsSelected.getModel()).setElementAt(newVar + ": " + name, newVar);
    private void change(String board) {        int[] selected = lisBoardsSelected.getSelectedIndexes();        for (final int newVar : selected) {            String name = board;            if (!MapSettings.BOARD_RANDOM.equals(name) &&                    !MapSettings.BOARD_SURPRISE.equals(name) &&                    chkRotateBoard.isSelected()) {                name = Board.BOARD_REQUEST_ROTATION + name;            }            lisBoardsSelected.replaceItem(newVar + ": " + name, newVar); //$NON-NLS-1$            mapSettings.getBoardsSelectedVector().setElementAt(name, newVar);            lisBoardsSelected.select(newVar);        }    }