Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

17 Colors

Back to RWTOverview

Class RGB

Works the same as in SWT.

Class Color

Behaves the same as in SWT. Since there are no operating system resources allocated when creating a Color object, the RWT Color class does not have a dispose() method. To reduce memory footprint, the constructors were replaced by static mathods that return shared Color instances.

System Colors

Constants for 'natural' colors are defined in RWT and Display.getSystemColor() returns an instance of class Color for those.

Window system-specific colors such as COLOR_WIDGET_BORDER are not yet implemented.

Back to the top