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

Chapter 17. Colors > Class Color

17.2. Class Color

Instances of class Color are used to represent the actual color values that have been allocated in the operating system. Because these objects hold on to operating system memory, you must follow the standard life cycle rules for SWT when working with them: If you create the Color, you must call dispose() when you are done with it.

Colors can be created using one of two constructors.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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