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

15.13. Summary

In this chapter, you have learned how and when to use FillLayout, RowLayout, GridLayout, and FormLayout. General Layout concepts and techniques for wrapping controls were described.

Layout is an expensive operation. When it is inefficient, the entire program suffers. Experience with programming native Motif applications, particularly fighting with native layout, convinced us that “less is more.” Often, setting a string in a Motif program turned out to have a huge cost. Sometimes this was hidden (causing a hidden performance problem), but more often than not, the widgets were positioned either unnecessarily or incorrectly. This turned us off of automated layout. As a result, SWT layout is perhaps more manual than some programmers would like, but it is efficient.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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