public static void LISTS_MULTIPLE_SELECTION()
{
ItsNatDocument itsNatDoc = null;
ItsNatComponentManager componentMgr = itsNatDoc.getItsNatComponentManager();
ItsNatHTMLSelectMult listComp = (ItsNatHTMLSelectMult)componentMgr.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);
EventListener evtListener = new EventListener()
{
public void handleEvent(Event evt)
{
System.out.println(evt.getCurrentTarget() + " " + evt.getType());
}
};
listComp.addEventListener("change",evtListener);
ListDataListener dataListener = new ListDataListener()
{
public void intervalAdded(ListDataEvent e)
{