protected void waitFor(boolean createdVal) {
        synchronized (createdLock) {
            while (created.get() != createdVal) {
                try {
                    createdLock.wait();
                } catch (InterruptedException ignored) {
                }
            }
        }
    }
Returns a list of the available platforms, filtered by the specified
filter.
<p>
Copied from the old release

@return the available platforms
jme3-lwjgl3/src/main/java/com/jme3/system/lwjgl/LwjglContext.java