Thank you. This is helpful.

On Sun, May 10, 2009 at 8:50 PM, Josh Juneau <juneau001@gmail.com> wrote:
Sorry to hear that you are having difficulty mapping classes.  Admittedly, the Jython syntax is a bit different from Java.  The constructor (initializer in Jython) is pretty much the same as in Java.  If a class is instantiated, the initializer is the first method in the class that is invoked.  Any class initialization which needs to be done should occur there.  Also remember when coding the initializer it takes "self" as the first parameter, as do all class methods.

You may want to take a look at the material at http://python.computersci.org/ which does a good job of explaining the "basics" when trying to learn Python (or Jython) for a Java programmer.

Hope this helps.


Josh Juneau
juneau001@gmail.com
http://jj-blogger.blogspot.com
http://www.gathereventplanning.com
Twitter ID:  javajuneau


On Sun, May 10, 2009 at 8:04 PM, LoD MoD <lodmod.dod@gmail.com> wrote:
I am having difficulty mapping Java classes and applications into Jython.
Namely, class constructors in Jython are a bit confusing.

Does anyone have any suggestions or insights here?

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Jython-users mailing list
Jython-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-users