if (caretBounds.width == 0) {
caretBounds.width++;
}
TextInput textInput = (TextInput)getComponent();
textInput.repaint(caretBounds.x, caretBounds.y,
caretBounds.width, caretBounds.height, true);
}
}
private class ScrollSelectionCallback implements Runnable {