// TODO Register mouse listener to begin selecting text; also handle
// auto-scrolling when the mouse moves outside the component
// Set focus to the text input
if (textArea.isEditable()) {
textArea.requestFocus();
}
}
return super.mouseDown(component, button, x, y);
}