[Newbies] What do you suppose about this ?

Raymond Asselin jgr.asselin at me.com
Wed Dec 10 21:07:17 UTC 2014


Hi Hans, 
Don't know what is your question or problem, but if GraphicsDemo is a subclass of ViewManager, I suppose there is a reason. 
So in your intialize method may be it would be good to add "super initialize" .



> Le 2014-12-10 à 14:47, Hans Schueren <werbung at hans-schueren.de> a écrit :
> 
> What do you suppose about this ?
> 
> from Hans - the Byte Surfer
> 
> 
> 
> 
> ViewManager subclass: #GraphicsDemo
>  instanceVariableNames:
>    'pen graphs selectedGraph pane bitmap '
>  classVariableNames:
>    'Count '
>  poolDictionaries:
>    'ColorConstants '    !
> 
> 
> !GraphicsDemo class methods !
> 
> initialize
>        "Private - Set the color count to 0."
>    Count := 0.! !
> 
> 



More information about the Beginners mailing list