public void preInitialise() {
}
@Override
public void postInitialise(Config config) {
CoreRegistry.putPermanently(RenderingSubsystemFactory.class, new HeadlessRenderingSubsystemFactory());
HeadlessDisplayDevice headlessDisplay = new HeadlessDisplayDevice();
CoreRegistry.putPermanently(DisplayDevice.class, headlessDisplay);
initHeadless();