}
private TextBox createTextBox(final Map<String,RegisteredOntologyInfo> suggestions, final ListBox listBox, final MyDialog popup) {
final TextBox textBox = new TextBox();
KeyboardListener kb = new KeyboardListenerAdapter() {
String[] lastEntered = {""};
public void onKeyUp(Widget sender, char keyCode, int modifiers) {
String enteredText = textBox.getText().trim();
if ( keyCode == KeyboardListener.KEY_ENTER ) {
Orr.log("ENTER: '" + enteredText + "'");