Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » ColorDialog and Wrong Colors
ColorDialog and Wrong Colors [message #521179] Tue, 16 March 2010 16:21
Rick Hugie is currently offline Rick HugieFriend
Messages: 1
Registered: March 2010
Junior Member
I'm using the org.eclipse.swt.widgets.ColorDialog picker to select a color. I then use that RGB to create a Color object that I pass into my figure as the background color.

What I am seeing is that the color I select is different than the color that gets painted in my background. When I take that color and convert it back to RGB to open the picker it shows it as being the one I originally chose.

In order to create my color object I am doing
new Color(Display.getDefault(),,,;

Any ideas where my issue is? I get identical results on Windows 7 and Ubuntu.

Thanks for your help
Previous Topic:Banner Figure
Next Topic:Insert Images To Editor
Goto Forum:

Current Time: Thu Apr 19 19:55:34 GMT 2018

Powered by FUDForum. Page generated in 0.01758 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software