Yes, I also have this problem under similar circumstances with awt and
swing. I'm running Jython 2.1 using JDK1.3 on Red Hat Linux 6.2.
Jeff Stearns
On Sunday, January 27, 2002, at 09:41 PM, J Scinta II wrote:
> 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.
|