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

Chapter 13. SWT Trees > Using Trees with Other Widgets

13.7. Using Trees with Other Widgets

While Tree is, in and of itself, a massively useful construct, it gains power when used in conjunction with the List widget. Windows Explorer itself is one of these half tree-half list constructs, where the tree view on the left drives the contents of the list on the right.

13.7.1. How do I do that?

Build the same type of interface in the SWT using FillLayout with a Tree and List. Example 13-2 demonstrates the techniques required.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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