I want to change the border color of the composite using form tool kit.But the result is something unexpected.It sets the background to white.
CODE:
FormColors formColor = new FormColors(Display.getCurrent());
formColor.createColor(FormColors.BORDER, 160, 32, 240);
formColor.setForeground(new Color(Display.getCurrent(), 160, 32, 240));
FormToolkit formToolkit = new FormToolkit(formColor);
formToolkit.paintBordersFor(composite);
Composite child=formtoolkit.createcomposite(composite)
formtoolkit.paintBordersFor(child)
But this code has no effect on the border of the composite .an anyone tell me what am i doing wrong.