I'm having problems getting the following line to
work with a Jython script:
exitButton = swing.JButton("Exit",
Traceback (innermost last):
object) at line 0
TypeError: call of non-function ('None'
I think the use of System.exit(0) is
probably inane here but I'm only newbie and possibly the only undergrad on
I'd like the user to exit the program, killing all
threads etc. Any suggestions on how to do this in the one liner above (i.e.
without an explicit def function for actionPerformed).
Thanks in advance,