On 10/10/05, Jeff Emanuel <firstname.lastname@example.org> wrote:
so that your class extends JLabel and implements MouseListener.
A-ha! I was sure that java interfaces could be used somehow, but
didn't realize the jython developers had made it so easy! Hooray
(and then, from an off-list response):
I noticed another problem. The constructor is
named __init__, not init.
OK. I was following the pattern I observed when I subclassed
JApplet before, and found that I needed to put my subclass's
initialization in "init" instead of "__init__". So why is that
the case for some classes and not others?