private static JmeSystemDelegate tryLoadDelegate(String className) throws InstantiationException, IllegalAccessException, NoSuchMethodException, IllegalArgumentException, InvocationTargetException {
        try {
            return (JmeSystemDelegate) Class.forName(className).getDeclaredConstructor().newInstance();
        } catch (ClassNotFoundException ex) {
            return null;
        }
    }
Displays an error message to the user in whichever way the context
feels is appropriate. If this is a headless or an offscreen surface
context, this method should do nothing.

@deprecated Use JmeSystem.handleErrorMessage(String) instead
@param message The error message to display. May contain new line
characters.
jme3-core/src/main/java/com/jme3/system/JmeSystem.java