Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Dec 2002 13:21:28 +0000 (GMT)
From:      =?iso-8859-1?q?Gavin=20Kenny?= <gavinkenny@yahoo.co.uk>
To:        Greg Lewis <glewis@eyesbeyond.com>
Cc:        Michael Westbay <westbay@seaple.icc.ne.jp>, java@FreeBSD.ORG
Subject:   Re: Dialog Boxes
Message-ID:  <20021204132128.49374.qmail@web20002.mail.yahoo.com>
In-Reply-To: <20021204024101.A10071@misty.eyesbeyond.com>

next in thread | previous in thread | raw e-mail | index | archive | help
You are quite right. This appears to be a problem with
Blackbox. I have tried a few other WM's and they
behave normally.

thanks for you help

Gavin

p.s. Greg, if you can work out how to get
process.destroy() to work, I'd be forever in your
debt. 

--- Greg Lewis <glewis@eyesbeyond.com> wrote: > 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
>  

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021204132128.49374.qmail>