From: Peter B. <bri...@ma...> - 2001-03-07 22:12:10
|
Riccardo: > I'm using Jython 2.0 on MacOS 9.1 with mrj2.2.4. >I can run the interpreter and a few simple python scripts seem to work. >I can also import string and other mods. >But whenever I try one of the demos with awt/swing I obtain an error >such as this: > > >Traceback (innermost last): > File "/MacHD/Developer/Jython/demo/awt/simple.py", line 15, in ? >TypeError: can't set arbitrary attribute in java instance: actionPerformed I've posted the patch for this problem on one of my pages, at http://www.math.uiuc.edu/~brinkman/software/jython/macpatch.html It's probably a good idea to install this patch if there's the slightest chance that someone may want to use your jython code on a Mac. Best, Peter |