public static Pair<Pane, AbstractFXController> loadFxmlPaneAndControllerPair(final String fxmlFileUri, final Class clazz) throws CouldNotPerformException {
        return loadFxmlPaneAndControllerPair(fxmlFileUri, clazz, DEFAULT_CONTROLLER_FACTORY);
    }
public static Pair < Pane , AbstractFXController > loadFxmlPaneAndControllerPair ( final String fxmlFileUri , final Class clazz ) throws CouldNotPerformException { return loadFxmlPaneAndControllerPair ( fxmlFileUri , clazz , DEFAULT_CONTROLLER_FACTORY ) ; }
Method load the pane and controller of the given fxml file.

@param fxmlFileUri the uri pointing to the fxml file within the classpath.
@param clazz       the responsible class which is used for class path resolution.

@return an pair of the pane and its controller.

@throws CouldNotPerformException is thrown if something went wrong like for example the fxml file does not exist.