public void bind(Component destination, Application application) {
        final RenderManager renderManager = application.getRenderManager();

        if (renderManager == null) {
            throw new RuntimeException("No render manager available from the application.");
        }

        List<ViewPort> postViews = renderManager.getPostViews();
        if (postViews.isEmpty()) {
            throw new RuntimeException("the list of a post view is empty.");
        }

        bind(destination, application, postViews.get(postViews.size() - 1), true);
    }
Bind this processor.

@param destination the destination.
@param application the application.
jme3-desktop/src/main/java/com/jme3/system/AWTFrameProcessor.java