TextEditor Cursor


#1

In my plugin you can open a window, to rename something. So in the window is a TextEditor. 

My Question is, if there is a way, that on opening my window the focus is in the texteditor, so that I can write instantly? 

Any Idea? 

 


#2

Do Component::toFront() and Component::grabKeyboardFocus() help? 


#3

Also setExplicitFocusOrder(), setFocusContainer(), createFocusTraverser() etc.. There's plenty of ways to control focus behaviour!