@Override
    public void destroy(final boolean waitFor) {
        if (backgroundContext == null) throw new IllegalStateException("Not created");
        // destroy wrapped context
        backgroundContext.destroy(waitFor);
    }
Accesses the listener that receives events related to this context.

@return the pre-existing instance
jme3-desktop/src/main/java/com/jme3/system/AWTContext.java