void (Object combobox, Object combolist, Object item) { if ((item != null) && getBoolean(item, "enabled", true)) { String text = getString(item, "text", ""); set(combobox, "text", text); // if editable setInteger(combobox, "start", text.length(), 0); setInteger(combobox, "end", 0, 0); set(combobox, "icon", get(item, "icon")); validate(combobox); setInteger(combobox, "selected", getIndex(combobox, "choice", item), -1); invoke(combobox, "action"); } set(combolist, "combobox", null); set(combobox, "combolist", null); removeItemImpl(content, "component", combolist); repaint(combolist); set(combolist, ":parent", null); popupowner = null; if (mouseinside == combolist) { findComponent(content, mousex, mousey); handleMouseEvent(mousex, mousex, 1, false, false, false, //java <error descr="Cannot resolve symbol 'MouseEvent'">MouseEvent</error>.MOUSE_ENTERED, mouseinside, insidepart); //java } }