Java 类java.awt.desktop.QuitEvent 实例源码

项目:openjdk-jdk10    文件:_AppEventHandler.java   
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);
}
项目:incubator-netbeans    文件:NbApplicationAdapterJDK9.java   
@Override
public void handleQuitRequestWith(QuitEvent e, QuitResponse response) {
    handleQuit();
}
项目:openjdk9    文件:_AppEventHandler.java   
void performUsing(final QuitHandler handler, final _NativeEvent event) {
    final MacQuitResponse response = obtainQuitResponse(); // obtains the "current" quit response
    handler.handleQuitRequestWith(new QuitEvent(), response);
}