Hello,

 

I’m using Jython with Java 1.5 inside the Jedit JythonInterpreter and having some strange results.

I can see all of my classes, but I can’t use them:

 

Jython 2.1 on java1.5.0 (JIT: null)

Type "copyright", "credits" or "license" for more information.

>>> import mbf

>>> dir (mbf)

['__name__', 'geometry', 'label', 'mbfml', 'namedParameters', 'neuroInfo', 'raster', 'util', 'vsview']

>>> dir (mbf.geometry)

['CoordinateMapper', 'ImagePos2I', 'ScreenPos2I', 'Transformable', 'Vertex3f', '__name__']

>>> dir (mbf.geometry.Vertex3f)

Traceback (innermost last):

  File "<console>", line 1, in ?

AttributeError: java package 'mbf.geometry' has no attribute 'Vertex3f'

>>> vertex = mbf.geometry.Vertex3f(0.0, 1.0, 2.0)

Traceback (innermost last):

  File "<console>", line 1, in ?

AttributeError: java package 'mbf.geometry' has no attribute 'Vertex3f'

>>> 

 

Could I be doing something wrong?

Thanks!

-Jim Carroll