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 AC8F5861B for ; Mon, 8 Aug 2011 07:00:18 +0000 (UTC) Received: (qmail 31287 invoked by uid 500); 8 Aug 2011 07:00:18 -0000 Delivered-To: apmail-pivot-user-archive@pivot.apache.org Received: (qmail 30997 invoked by uid 500); 8 Aug 2011 07:00:07 -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 30881 invoked by uid 99); 8 Aug 2011 07:00:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Aug 2011 07:00:00 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=FREEMAIL_FROM,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.236.26 is neither permitted nor denied by domain of roger.varley@googlemail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Aug 2011 06:59:53 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1QqJoB-0000jq-MZ for user@pivot.apache.org; Sun, 07 Aug 2011 23:59:31 -0700 Date: Sun, 7 Aug 2011 23:59:31 -0700 (PDT) From: "B.L. Zeebub" To: user@pivot.apache.org Message-ID: <1312786771685-3234719.post@n3.nabble.com> Subject: Problem closing windows MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi I've got a fairly basic frame defined (below). When I instantiate the window under Windows 7 with public void startup(Display display, Map<String, String> properties) throws Exception { WTKXSerializer wtkxSerializer = new WTKXSerializer(); window = (Window) wtkxSerializer.readObject(this, "GenesisClientStarter.wtkx"); window.open(display); } I get my frame which is wrapped in a Windows decorated frame. If I click the close icon on the Windows frame then everything shuts down as expected. However, if I try to shutdown my app programatically with Alert.alert(MessageType.ERROR,((ErrorEvent) message).getMessage(), window, new DialogCloseListener() { public void dialogClosed(Dialog dialog, boolean modal) { try { shutdown(true); } catch (Exception e) { e.printStackTrace(); } } }); then only my frame closes, leaving a blank Windows 7 decorated window in place. How do I close the Windows 7 window? Regards -- View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Problem-closing-windows-tp3234719p3234719.html Sent from the Apache Pivot - Users mailing list archive at Nabble.com.