In one of my class I have the following code:
private static final Color GREEN = new Color(null, 0, 255, 0);
I know the Display class provide the following method:
Display.getSystemColor(int id)
in order to return "default" system colors instead of instantiating new colors. What is the best solution to get a Display instance in the context of static code called in a non Ui thread ?