Return-Path: X-Original-To: apmail-pivot-user-archive@www.apache.org Delivered-To: apmail-pivot-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 592624C61 for ; Fri, 17 Jun 2011 19:21:18 +0000 (UTC) Received: (qmail 47613 invoked by uid 500); 17 Jun 2011 19:21:18 -0000 Delivered-To: apmail-pivot-user-archive@pivot.apache.org Received: (qmail 47594 invoked by uid 500); 17 Jun 2011 19:21:18 -0000 Mailing-List: contact user-help@pivot.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@pivot.apache.org Delivered-To: mailing list user@pivot.apache.org Received: (qmail 47586 invoked by uid 99); 17 Jun 2011 19:21:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jun 2011 19:21:18 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [139.165.32.111] (HELO serv108.segi.ulg.ac.be) (139.165.32.111) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jun 2011 19:21:08 +0000 Received: (qmail 31565 invoked by uid 510); 17 Jun 2011 21:20:48 +0200 Received: from 139.165.32.175 by serv108.segi.ulg.ac.be (envelope-from , uid 501) with qmail-scanner-1.25 (clamdscan: 0.97/12886. Clear:RC:1(139.165.32.175):. Processed in 0.052205 secs); 17 Jun 2011 19:20:48 -0000 Received: from unknown (HELO mbx3-zne.ulg.ac.be) ([139.165.32.175]) (envelope-sender ) by serv108.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP for ; 17 Jun 2011 21:20:48 +0200 Received: from mbx3-zne.ulg.ac.be (mbx3-zne.ulg.ac.be [139.165.32.175]) by mbx3-zne.ulg.ac.be (Postfix) with ESMTP id F11B511D9EE2 for ; Fri, 17 Jun 2011 21:20:47 +0200 (CEST) Date: Fri, 17 Jun 2011 21:20:47 +0200 (CEST) From: philippe.bajoit@ulg.ac.be To: user@pivot.apache.org Message-ID: <282489994.45450.1308338447766.JavaMail.root@serv225.segi.ulg.ac.be> Subject: Exit a Pivot app in standalone mode MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [139.165.32.136] X-Mailer: Zimbra 6.0.6_GA_2330.RHEL5_64 (ZimbraWebClient - FF3.0 (Win)/6.0.6_GA_2330.RHEL5_64) X-Virus-Checked: Checked by ClamAV on apache.org I would like to provide an Exit button in a Pivot application running standalone. Is it a better way to do this than 1. calling explicitely Application.shutdown() to release resources 2. System.exit(0) ? I mean sending an event that can be properly handled eg confirm exit? Thx Philippe Bajoit ULg/SeGI