public boolean checkVisibilityState() {
        if (!hasNativePeer.get()) {
            synchronized (lock) {
                canvas.doDisposeCanvas();
            }
            return false;
        }

        boolean currentShowing = canvas.isShowing();
        showing.set(currentShowing);
        return currentShowing;
    }
Check if the canvas is displayed, that is, if it has a parent that has set it up.
<p>
It is very important that this verification be done so that LWJGL3-AWT works correctly.

@return returns <code>true</code> if the canvas is ready to draw; otherwise 
returns <code>false</code>
jme3-lwjgl3/src/main/java/com/jme3/system/lwjgl/LwjglCanvas.java