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

Print this page




 619     }
 620 
 621     if (jWindowNotifyMove == NULL)
 622     {
 623         jWindowNotifyMove = (*env)->GetMethodID(env, jWindowClass, "notifyMove", "(IIZ)V");
 624         if ((*env)->ExceptionCheck(env)) return;
 625     }
 626 
 627     if (jWindowNotifyResize == NULL)
 628     {
 629         jWindowNotifyResize = (*env)->GetMethodID(env, jWindowClass, "notifyResize", "(III)V");
 630         if ((*env)->ExceptionCheck(env)) return;
 631     }
 632 
 633     if (jWindowNotifyMoveToAnotherScreen == NULL)
 634     {
 635         jWindowNotifyMoveToAnotherScreen = (*env)->GetMethodID(env, jWindowClass, "notifyMoveToAnotherScreen", "(Lcom/sun/glass/ui/Screen;)V");
 636         if ((*env)->ExceptionCheck(env)) return;
 637     }
 638 






 639     if (jWindowNotifyClose == NULL)
 640     {
 641         jWindowNotifyClose = (*env)->GetMethodID(env, jWindowClass, "notifyClose", "()V");
 642         if ((*env)->ExceptionCheck(env)) return;
 643     }
 644 
 645     if (jWindowNotifyFocus == NULL)
 646     {
 647         jWindowNotifyFocus = (*env)->GetMethodID(env, jWindowClass, "notifyFocus", "(I)V");
 648         if ((*env)->ExceptionCheck(env)) return;
 649     }
 650 
 651     if (jWindowNotifyFocusUngrab == NULL)
 652     {
 653         jWindowNotifyFocusUngrab = (*env)->GetMethodID(env, jWindowClass, "notifyFocusUngrab", "()V");
 654         if ((*env)->ExceptionCheck(env)) return;
 655     }
 656 
 657     if (jWindowNotifyFocusDisabled == NULL)
 658     {




 619     }
 620 
 621     if (jWindowNotifyMove == NULL)
 622     {
 623         jWindowNotifyMove = (*env)->GetMethodID(env, jWindowClass, "notifyMove", "(IIZ)V");
 624         if ((*env)->ExceptionCheck(env)) return;
 625     }
 626 
 627     if (jWindowNotifyResize == NULL)
 628     {
 629         jWindowNotifyResize = (*env)->GetMethodID(env, jWindowClass, "notifyResize", "(III)V");
 630         if ((*env)->ExceptionCheck(env)) return;
 631     }
 632 
 633     if (jWindowNotifyMoveToAnotherScreen == NULL)
 634     {
 635         jWindowNotifyMoveToAnotherScreen = (*env)->GetMethodID(env, jWindowClass, "notifyMoveToAnotherScreen", "(Lcom/sun/glass/ui/Screen;)V");
 636         if ((*env)->ExceptionCheck(env)) return;
 637     }
 638 
 639     if (jWindowNotifyScaleChanged == NULL)
 640     {
 641         jWindowNotifyScaleChanged = (*env)->GetMethodID(env, jWindowClass, "notifyScaleChanged", "(FFFF)V");
 642         if ((*env)->ExceptionCheck(env)) return;
 643     }
 644 
 645     if (jWindowNotifyClose == NULL)
 646     {
 647         jWindowNotifyClose = (*env)->GetMethodID(env, jWindowClass, "notifyClose", "()V");
 648         if ((*env)->ExceptionCheck(env)) return;
 649     }
 650 
 651     if (jWindowNotifyFocus == NULL)
 652     {
 653         jWindowNotifyFocus = (*env)->GetMethodID(env, jWindowClass, "notifyFocus", "(I)V");
 654         if ((*env)->ExceptionCheck(env)) return;
 655     }
 656 
 657     if (jWindowNotifyFocusUngrab == NULL)
 658     {
 659         jWindowNotifyFocusUngrab = (*env)->GetMethodID(env, jWindowClass, "notifyFocusUngrab", "()V");
 660         if ((*env)->ExceptionCheck(env)) return;
 661     }
 662 
 663     if (jWindowNotifyFocusDisabled == NULL)
 664     {