}
public void startExamplePanel()
{
ItsNatDocument itsNatDoc = getItsNatDocument();
ItsNatComponentManager compMgr = itsNatDoc.getItsNatComponentManager();
this.listComp = (ItsNatHTMLSelectMult)compMgr.createItsNatComponentById("compId");
DefaultListModel dataModel = (DefaultListModel)listComp.getListModel();
dataModel.addElement("Madrid");
dataModel.addElement("Sevilla");
dataModel.addElement("Segovia");
dataModel.addElement("Barcelona");
dataModel.addElement("Oviedo");
dataModel.addElement("Valencia");
ListSelectionModel selModel = listComp.getListSelectionModel();
selModel.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION);
selModel.setSelectionInterval(2,3);
listComp.addEventListener("change",this);
dataModel.addListDataListener(this);
selModel.addListSelectionListener(this);
this.removeButton = (ItsNatHTMLInputButton)compMgr.createItsNatComponentById("removeId");
removeButton.addEventListener("click",this);
this.itemComp = (ItsNatHTMLInputText)compMgr.createItsNatComponentById("itemId");
itemComp.setText(listComp.getListModel().getElementAt(listComp.getSelectedIndex()).toString());
this.posComp = (ItsNatHTMLInputText)compMgr.createItsNatComponentById("posId");
posComp.setText(Integer.toString(listComp.getSelectedIndex()));
this.updateButton = (ItsNatHTMLInputButton)compMgr.createItsNatComponentById("updateId");
updateButton.addEventListener("click",this);
this.insertButton = (ItsNatHTMLInputButton)compMgr.createItsNatComponentById("insertId");
insertButton.addEventListener("click",this);
}