In my SWT application in MAC, I was trying to set some colour in the text box when the validation is wrong using org.eclipse.e4.ui.services.IStylingEngine
method(IStylingEngine cssengine){
cssengine.setClassname(txtEnterNumberHere, "ErrorBackGroundColor");
}
Which I am getting correctly working in windows but not getting effected in mac osx
Any idea how to fix in mac?