<p>This is pretty simple, I come from a swing/awt background.</p>

<p>I'm just wondering what the proper way to set the background color for a SWT widget is?</p>

<p>I've been trying:</p>

<pre><code>widget.setBackground( );
</code></pre>

<p>Except I have no idea how to create the color Object in SWT?</p>

To create a color, try this:
```
```
Device device = Display.getCurrent ();
Color red = new Color (device, 255, 0, 0);
```
```