Hi Chi-chi,
I'm having problems getting the following line to work with a Jython script:
exitButton = swing.JButton("Exit", preferredSize=(100,20), actionPerformed=System.exit(0))
Not sure about this, but i am using...
 
To use same style as python...
+++++++++++++++++++++++
 
import sys
 
sys.exit(0)
 
----------
 
To use java-style
++++++++++++
 
import java.lang as lang
 
lang.System.exit(0)
 
Hope this helps.
 
Best Regards,
 
Patrick