|
From: J S. I. <xy...@ke...> - 2002-01-28 05:44:54
|
I don't get it. If I instantiate a Frame, it never goes away and holds up the interpreter from exiting. In the simplest case: import java java.awt.Frame(visible=1) The interpreter will not exit. I have tried several things: import java def close(x): x.source.dispose() f=java.awt.Frame(visible=1, windowClosing=close) I close the window, set f=None, exit the interpreter.. it still hangs. import javax f=javax.swing.JFrame(visible=1) ...still hangs on exit. Incidentally, this also happens when running the script from a file. Does anyone else get this problem? Jython 2.1 on JDK1.3 (also on jview 5.00.3310) on Win2000. |