[Bluej-discuss] Inspector not updating?

Michael Kölling M.Kolling at kent.ac.uk
Tue Sep 11 11:08:23 BST 2007


On 11 Sep 2007, at 06:26, Hedley Finger wrote:
>
> At Tuesday, 11/09/2007, 02:07 PM;, you wrote:
>> Otherwise, file a bug report, and please include the code you use  
>> to add
>> objects into the array.
>
> Erp!  That would be project diary-prototype from Chapter 6 of  
> OFWJ!  8^)
>
> I will walk through this with the Debugger and isolate where this  
> is happening.

I just tried it out, and it is updating as it should on my machine  
(MacOS X 10.4.10, BlueJ 2.2.0).

What I did (with the "diary-prototype" project):

- create a week
- get a Day object from the week, put it on bench
- inspect Day object; inspect 'appointments' array from that  
inspector; keep it open
- create an Appointment object; put on bench
- called 'makeAppointment' on Day object, with time=10, and my  
Appointment object

=> the open array inspector updated as it should.

Michael

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.bluej.org/pipermail/bluej-discuss/attachments/20070911/0995086d/attachment.html 


More information about the bluej-discuss mailing list