//ItsNatDocument itsNatDocPrev = docPrev.getItsNatDocument();
ItsNatHTMLSelectMult prevListComp = docPrev.getListComponent();
DefaultListModel model = (DefaultListModel)prevListComp.getListModel();
ListSelectionModel oldSelModel = prevListComp.getListSelectionModel();
prevListComp.dispose(); // to disconnect data model and selection models from the old markup (removing internal listeners)
listComp.setListModel(model);// Reusing the data model
// The selection model object may be reused but the current selection state will be lost,
// so we reuse the selection state saved before
boolean[] selection = getSelection(model.size(),oldSelModel);