modules/javafx.graphics/src/main/native-glass/mac/GlassWindow.m

Print this page

        

*** 634,643 **** --- 634,649 ---- { jWindowNotifyMoveToAnotherScreen = (*env)->GetMethodID(env, jWindowClass, "notifyMoveToAnotherScreen", "(Lcom/sun/glass/ui/Screen;)V"); if ((*env)->ExceptionCheck(env)) return; } + if (jWindowNotifyScaleChanged == NULL) + { + jWindowNotifyScaleChanged = (*env)->GetMethodID(env, jWindowClass, "notifyScaleChanged", "(FFFF)V"); + if ((*env)->ExceptionCheck(env)) return; + } + if (jWindowNotifyClose == NULL) { jWindowNotifyClose = (*env)->GetMethodID(env, jWindowClass, "notifyClose", "()V"); if ((*env)->ExceptionCheck(env)) return; }