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

Chapter 17. SWT Standard Dialogs > Using the SWT FontDialog Class

17.6. Using the SWT FontDialog Class

The FontDialog class is used to present the user with a standard user interface for selecting fonts for Text widgets.

17.6.1. How do I do that?

The use of FontDialog is similar to that of the dialogs previously discussed. Example 17-5 demonstrates a common use of FontDialog—permitting the user to select the font for a Text widget.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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