Hi,

Suppose I have a java object:

 

Import java.awt

w=java.awt.Window()

 

now, I would really like to use it as a python object, i.e do things like adding attributes on the fly like

w.ddddddd=2

 

Which jython doesn’t allow me, I’m guessing becaue w is a java object and not a python object (BTW – I don’t really use a Window instance in the real code). Is there a way around it, or am I not using jython correctly?

Thanks, Noam