Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Consistent with the design of the rest of SWT, colors, fonts, and images are also thin wrappers around their platform counterparts that must be explicitly destroyed when no longer needed.
The basic rule is: If you access a color, font, or image from somewhere else, you don’t need to worry about it. On the other hand, if you create the resource, then you must destroy it when you are done with it. For any resources that you anticipate routinely accessing within your application, consider creating a resource manager to manage them and then destroy all the resources when your application exits.