< prev index next >
modules/javafx.graphics/src/main/java/com/sun/glass/ui/Application.java
Print this page
*** 534,546 ****
checkEventThread();
if (nestedEventLoopCounter == 0) {
throw new IllegalStateException("Not in a nested event loop");
}
!
GetApplication()._leaveNestedEventLoop(retValue);
}
public static boolean isNestedLoopRunning() {
checkEventThread();
return nestedEventLoopCounter > 0;
}
--- 534,547 ----
checkEventThread();
if (nestedEventLoopCounter == 0) {
throw new IllegalStateException("Not in a nested event loop");
}
! if(GetApplication()!=null) {
GetApplication()._leaveNestedEventLoop(retValue);
}
+ }
public static boolean isNestedLoopRunning() {
checkEventThread();
return nestedEventLoopCounter > 0;
}
< prev index next >