Out of order
const String tite="my wind";
getPeer()->setTitle(tite);
Out of order
const String tite="my wind";
getPeer()->setTitle(tite);
You should never call ComponentPeer methods directly - just use Component::setName() to change the window title.
Thank you very much Jules.
ok
getPeer()->getComponent()->setName("new Title");