d.append("\n");
d.append("</option>\n");
    public void writeFormBody(Device d, SList list)        throws IOException    {	ListModel model = list.getModel();	int size = model.getSize();		if (model != null) {	    SListCellRenderer cellRenderer = list.getCellRenderer();	    SCellRendererPane rendererPane = getCellRendererPane(list);	    	    for (int i=0; i < size; i++) {		Object o = model.getElementAt(i);		boolean selected = list.isSelectedIndex(i);				d.append("<option value=\"").append(i).append("\"");		if (selected)		    d.append(" selected=\"selected\"");		d.append(">");				SComponent renderer		    = cellRenderer.getListCellRendererComponent(list, o, false, i);		rendererPane.writeComponent(d, renderer, list);				d.append("\n");	    }	}    }