From: <bc...@wo...> - 2001-04-04 10:41:00
|
[D-Man] >So with that knowledge, a class that inherits from java.awt.Component >should have a member 'enableEvents'. The problem here is it is >'protected'. In Java that means that only subclasses and classes in >the same package can access the function. Other classes can't call >it. Apparently jython does some name mangling on protected members by >prefixing "super__" to it. (I certainly hope it is mentioned in the >documentation, but like a <ahem> genius^H^H^H^H^H^Hidiot I haven't >checked ;-)) It is mentioned in the section "Calling Methods in Your Superclass" http://www.jython.org/docs/subclassing.html regards, finn |