void performUsing(final QuitHandler handler, final _NativeEvent event) {
if (_AppMiscHandlers.isSuddenTerminationEnbaled()) {
performDefaultAction(event);
return;
}
final MacQuitResponse response = obtainQuitResponse(); // obtains the "current" quit response
handler.handleQuitRequestWith(new QuitEvent(), response);
}
java类java.awt.desktop.QuitEvent的实例源码
_AppEventHandler.java 文件源码
项目:openjdk-jdk10
阅读 21
收藏 0
点赞 0
评论 0
NbApplicationAdapterJDK9.java 文件源码
项目:incubator-netbeans
阅读 19
收藏 0
点赞 0
评论 0
@Override
public void handleQuitRequestWith(QuitEvent e, QuitResponse response) {
handleQuit();
}
_AppEventHandler.java 文件源码
项目:openjdk9
阅读 18
收藏 0
点赞 0
评论 0
void performUsing(final QuitHandler handler, final _NativeEvent event) {
final MacQuitResponse response = obtainQuitResponse(); // obtains the "current" quit response
handler.handleQuitRequestWith(new QuitEvent(), response);
}