PDA

View Full Version : setting public field values in Jython


_underdog
06-25-2002, 03:36 PM
Hi, I am a java programmer and I was taking a look at Jython to maybe use is to do fast protyping. I see that it uses the get and set methods to set field values, but what do you do if the class uses public fields like the class GridBagConstraints. Using:

c = GridBagConstraints()
c.gridx = 0.5

does not work.

_underdog
06-25-2002, 03:59 PM
Nevermind.... I guess I had something else wrong.