@Override
    public void create(boolean waitFor) {
        if (actualContext != null) {
            throw new IllegalStateException("Already created");
        }

        actualContext = JmeSystem.newContext(settings, Type.OffscreenSurface);
        actualContext.setSystemListener(new AwtPanelsListener());
        actualContext.create(waitFor);
    }
Accesses the listener that receives events related to this context.

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