cs6452 SwikiPrototyping Interactive Systems(Class page)![]() Fig 1: An ambitious class project Who's whoPlease add yourself to the table!TutorialsStudents from last year began compiling these–please feel free to add content.Selected Content from Previous SemestersArticle: Java and Python: a perfect coupleCompiling Jython files into executable Java files IM GUI's Example of doing Drag-and-drop from Jython File I/O from Jython – useful for the P2P project Got Timing Errors in the IM project? (Like REGISTER never "taking" with the server?) Using Google Maps Jython List GotchaThere's a bug we ran into last semester that appears to still be around in the latest versions of Jython, unfortunately. This problem only shows up on certain machines. The problem shows up as an error message about Vector conversions when you're trying to assign a Jython list to a JList's listData. The fix is simple, if cumbersome. Basically, replace code that looks like this:
with code that looks like this:
You only need to do the import once. If you don't see the problem, you can just do the simple listData assignment, and not worry about the more complex version. Andy: I met this bug in my laptop when I tried swing-sampler.py. It's fixed by following the suggestion. What is the best IDE for Jython?Emacs. The only problem with python-mode (http://sourceforge.net/projects/python-mode/) is that there's a negative interaction with semantic (http://sourceforge.net/tracker/index.php?func=detail&aid=1215039&group_id=86916&atid=581349). I had semantic as part of JDEE,but since I now do Java with Eclipse (and everything else in Emacs!), I just took all the JDEE stuff out of my .emacs file, including semantic (or cedet). Can you share how you set up your devel environment?
UI Software Teams Page |