LinkedHashMap snmpV1Map = new LinkedHashMap(); snmpV1Map.put("hello", "hello"); snmpV1Map.put("createNew", "createNew"); snmpV1Map.put("editDelete", "editDelete"); final SelectItem selectItem = new SelectItem(); selectItem.setTitle("Please Select"); selectItem.setValueMap(snmpV1Map); selectItem.addFocusHandler(new FocusHandler() { @Override public void onFocus(FocusEvent event) { selectItem.showPicker(); } }); selectItem.addEditorEnterHandler(new EditorEnterHandler() { @Override public void onEditorEnter(EditorEnterEvent event) { selectItem.showPicker(); } }); DynamicForm selectItemForm = new DynamicForm(); selectItemForm.setItems(selectItem); //HLayout t = new HLayout(); // t.addMember(r); RootPanel.get().add(selectItemForm);