/** * Gracefully shutdowns the application, calls {@code exit(null)} * This version of exit() is convenient if the decision to exit the * application wasn't triggered by an event. * * @see #exit(EventObject) */ public final void exit() { exit(null); }
/** * Handles quit even on Mac Os X * Developer should not use it directly * @return always <tt>true</tt> */ public boolean handleQuit() { exit(); return false; }
/** * The default {@code Action} for quitting an application, * {@code quit} just exits the application by calling {@code exit(e)}. * * @param e the triggering event * @see #exit(EventObject) */ @Action public void quit(ActionEvent e) { exit(e); }