Operating System Resources : SWT Basics « SWT « Java Tutorial






Operating system resources in SWT refer to native resources used by those (operating system) resourcebased objects, e.g. Display, Color, Font, GC, Image, Printer, Region, and Widgets. Most of the classes in the following packages are resource-based:

org.eclipse.swt.custom
org.eclipse.swt.graphics
org.eclipse.swt.widgets

You can check whether a class has a dispose() method. If it does, then it is very likely resource-based. Otherwise, it isn't.









17.1.SWT Basics
17.1.1.Two simple rules to guide your disposal efforts
17.1.2.Operating System Resources
17.1.3.The SWT Class-Constants and Methods
17.1.4.Coding Your First SWT Program: Hello WorldCoding Your First SWT Program: Hello World
17.1.5.SWT useful utilities