• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 14. Dialogs > Setting the Title

14.3. Setting the Title

All dialogs support the getting and setting of the title string. If a title is not specified, the dialog has an empty title, just like a shell. To set the title of a dialog, the setText() method is used.

setText(String title) Sets the title of the dialog. The string must not be null.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint