| [news.eclipse.newcomer] Re: new Color Class problem |
when I want to set the background color of a label:
label.setBackground(new Color(display,200,111,50));
I get this compilation error:
Exception in thread "main" java.lang.Error: Unresolved compilation problem: Color cannot be resolved to a type
at SWTHallo.main(SWTHallo.java:31)
Any clues? Thanks in advance, Fabián