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

Chapter 2. SWT Shells > Creating Multiple Child Windows

2.6. Creating Multiple Child Windows

Often you will need to create more than just a single child window within your main window. You can create many instances of ChildShell, using ChildShellExample as the parent, simply by creating new instances of ChildShell.

2.6.1. How do I do that?

The code required to create multiple child windows is shown in Example 2-7. All you do is create a new instance of ChildShell for each window desired.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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