From owner-freebsd-java Tue Dec 3 8:18: 8 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3CB2537B401 for ; Tue, 3 Dec 2002 08:18:07 -0800 (PST) Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA7C143EAF for ; Tue, 3 Dec 2002 08:18:06 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr1.xmission.com with spam-scanned (Exim 3.35 #1) id 18JFj9-0002YB-01 for java@freebsd.org; Tue, 03 Dec 2002 09:16:51 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.35 #1) id 18JFdc-0001B6-01; Tue, 03 Dec 2002 09:11:09 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id gB3GB2v10100; Wed, 4 Dec 2002 02:41:02 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 4 Dec 2002 02:41:01 +1030 From: Greg Lewis To: Gavin Kenny Cc: Michael Westbay , java@FreeBSD.ORG Subject: Re: Dialog Boxes Message-ID: <20021204024101.A10071@misty.eyesbeyond.com> References: <200212031310.05792.westbay@seaple.icc.ne.jp> <20021203094923.69189.qmail@web20003.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20021203094923.69189.qmail@web20003.mail.yahoo.com>; from gavinkenny@yahoo.co.uk on Tue, Dec 03, 2002 at 09:49:23AM +0000 X-Spam-Status: No, hits=-2.7 required=8.0 tests=IN_REP_TO,REFERENCES,SIGNATURE_SHORT_DENSE, SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 X-Spam-Level: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Dec 03, 2002 at 09:49:23AM +0000, Gavin Kenny wrote: > OK I think your programming is better than mine. I am > not using frame.pack() in fact I am calling the dialog > box from an event handler as it is a space holder so I > know I need to write some more code. It is a single > line: > > JOptionPane.showMessageDialog(null, "Do Something"); > > I am using the BlackBox window manager but I don't > think this is a problem as my program works as > intended using the linux jdk. Thats not necessarily the case. There is different code to handle each window manager to some extent and just because the Linux JDK detects BlackBox correctly and does the right thing for it doesn't mean the native JDK has the same support code in it. FWIW, your example works for me using AfterStep. I haven't tried anything else. > Another issue which works with the linux jdk but not > the native one is when you use the: > > Process proc = Runtime.getruntime().exec("some App"); > > to run a binary, with linux if I then do a: > > proc.destry(); > > The binary is shutdown/killed but nothing happens with > the FBSD native JDK. I'll test this out and see if I can get a handle on it. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message