Hello,
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
jpython.
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:
...
ParentClass.method(self)
works fine, but in this case
...
DefaultMetalTheme.getPrimary1()
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
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
jpython.
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:
...
ParentClass.method(self)
works fine, but in this case
...
DefaultMetalTheme.getPrimary1()
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