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

Chapter 12. SWT Tables > Changing the Background Color

12.5. Changing the Background Color

A useful technique that enables you to visually delimit data in a table is to change the background color of a TableItem.

12.5.1. How do I do that?

Use setBackground() to specify the background color of an individual TableItem:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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