Label myLabel = new Label(parent, SWT.NONE); myLabel.setForeground(Display.getCurrent().getSystemColor(SWT.COLOR_BLUE));
Label myLabel = new Label(parent, SWT.NONE); myLabel.setForeground(new Color(Display.getCurrent(), 255, 0, 0));Package library: org.eclipse.swt.widgets