How to call a Java superclass from jpython ??
sass at dresearch.de
Tue Jun 22 10:17:46 CEST 1999
"Markus A. Greiner" wrote:
> I´m trying to port some java applications into jpython.
> Now I got a problem. I´m not able to call a java superclass from
> Did anybody know how to call them? Here the code I´m trying to convert:
> It´s from PropertiesMetalTheme.java of the JDK Metalworks example.
> In method initcolors:
> primary1 = super.getPrimary1()
> Everything I tried in jpython failed. In some other cases replacing the
> super call into a construct like:
> works fine, but in this case
> and all other constructs failed. I´m using JPython 1.1 beta 2 so
> calls like self.super__method are obsolte and didn´t work anymore.
> (I think :-)) or better I tried without success)
> Thanks Markus
You try to call a protected method. This problem should be fixed in
More information about the Python-list