973974975976977978979980981982983
int index = getInsertionIndex(text, x); textInput.setSelection(index, 0); } // Set focus to the text input textInput.requestFocus(); // Capture the mouse so we can select text Mouse.capture(component); }
9909919929939949959969979989991000
int index = getInsertionIndex(text, x); textInput.setSelection(index, 0); } // Set focus to the text input textInput.requestFocus(); } return super.mouseDown(component, button, x, y); }