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

Chapter 3. SWT Menus > Creating the Menu Bar

3.1. Creating the Menu Bar

The first step in creating a menu system is to create an instance of Menu to serve as the menu bar and attach it to an instance of the Shell class.

3.1.1. How do I do that?

Example 3-1 demonstrates how to create a menu bar attached to a simple window..


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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