You can simply add a component to the northern part of the screen, which is the recommended method that will work correctly and will not break for newer versions of LWUIT / Codename One .
If you do not specify a title, it will just work, and you can assign a title UIID to it. LWUIT 1.5 and newer has a TitleArea container, but I suggest you stay away from it, since CodenameOne configures it enough for iOS / Android 4.x, etc.
source share