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

Chapter 9. SWT Layouts > Creating Column Headings

9.10. Creating Column Headings

It is possible to create a GridLayout that mimics a table for presentation of data. When this is the design effect you wish to achieve, you must create column headings in the first row of the grid. Text widgets are then used to fill out the additional rows in the table.

9.10.1. How do I do that?

Example 9-5 demonstrates how GridLayout can be used to create a table for presentation of data in text fields aligned in a grid.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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