D-Man wrote:
> class Foo :
> def func( self ) :
> print "func was called"
>
> def runme( self ) :
> func() # this won't work as you've seen in your code
>
> def runme2( self ) :
> self.func() # this will work as expected
This I undertstand, but I don't see how "self" can be used on a
class that is inherited and that is abstract, such as Component.
When I do "self.enableEvents(java.awt.event.WindowEvent.WINDOW_EVENT_MASK)"
I get an AttribueError on enableEvents, which I would expect.
Thanks.
Wayne
|