Swing Point Definition Issue

Why won’t this work?

image

Because Java syntax doesn’t work in Jython. Try:

p = Point(0,0)

ty