< prev index next >

src/java.desktop/macosx/classes/com/apple/eawt/MacQuitResponse.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 23,37 **** * questions. */ package com.apple.eawt; import java.awt.desktop.QuitResponse; /** * Used to respond to a request to quit the application. ! * The QuitResponse may be used after the {@link QuitHandler#handleQuitRequestWith(AppEvent.QuitEvent, MacQuitResponse)} method has returned, and may be used from any thread. * * @see Application#setQuitHandler(QuitHandler) * @see QuitHandler * @see Application#setQuitStrategy(QuitStrategy) * --- 23,40 ---- * questions. */ package com.apple.eawt; + import java.awt.desktop.QuitEvent; + import java.awt.desktop.QuitHandler; import java.awt.desktop.QuitResponse; + import java.awt.desktop.QuitStrategy; /** * Used to respond to a request to quit the application. ! * The QuitResponse may be used after the {@link QuitHandler#handleQuitRequestWith(QuitEvent, QuitResponse)} method has returned, and may be used from any thread. * * @see Application#setQuitHandler(QuitHandler) * @see QuitHandler * @see Application#setQuitStrategy(QuitStrategy) *
< prev index next >