This seems like a silly question but it does not work for me. When I use .getSelectedIndex() on a ListBox it returns the previously selected item in history, not the one I selected just now.
What is going on? cmbDefinitionSelection.addMouseUpHandler(new MouseUpHandler() { public void onMouseUp(MouseUpEvent event) { int index = cmbDefinitionSelection.getSelectedIndex(); txtDefinition.setText(cmbDefinitionSelection.getItemText(index)); } }); -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.