help with awt and jython
Derrick 'dman' Hudson
dman at dman13.dyndns.org
Mon Dec 8 17:24:12 EST 2003
On 5 Dec 2003 19:01:18 -0800, dave wrote:
> Hi, how do you close a program in jython using awt. I get the following error:
>
> TypeError: windowClosing() too many arguments; expected 1 got 2
> Traceback (innermost last):
> (no code object) at line 0
>
> when I called System.exit(0) in an event handler from jython.
What object is the name 'System' bound to at that point in your
program?
sys.exit() ought to work just as well, too.
-D
--
(E)ventually (M)allocs (A)ll (C)omputer (S)torage
www: http://dman13.dyndns.org/~dman/ jabber: dman at dman13.dyndns.org
More information about the Python-list
mailing list