[Newbies] Re: Making squeak hang
andy.burnett at knowinnovation.com
Thu Mar 18 16:13:50 UTC 2010
Forget it. I was so focused on doing things with the TextMorph, I completely
forgot to call super initialize.
On Thu, Mar 18, 2010 at 16:02, Andy Burnett <andy.burnett at knowinnovation.com
> Is there something fundamentally wrong with what I am doing, or is this a
> 1. Set up a new category 'AB-Test'
> 2. Subclass RectangleMorph, and add an instance variable 'textReporter'
> RectangleMorph subclass: #AbRectangleMorph
> instanceVariableNames: 'textReporterThing'
> classVariableNames: ''
> poolDictionaries: ''
> category: 'AB-Test'
> 3. Create an initialization method in the new class...
> textReporterThing := TextMorph new.
> textReporterThing := self bounds asString.
> 4. Create a new instance and openInWorld
> Everything stops responding! I can still close without saving - from the
> menu - but all UI stuff stops. Pressing Apple . doesn't produce a break.
> System is OSX 10.6
> Latest update: #10505
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners