[Bluej-discuss] Inspector not updating?
Bruce Quig
bquig at deakin.edu.au
Tue Sep 11 11:34:17 BST 2007
Could it be that 2 objects have been added to the same array index?
If you added an object, opened an inspector and then added a
different object to the same index location, the open inspector would
not update to the new values. The open inspector would still hold the
values for the first object (which still exists, but now not stored
in the array). In this instance a further inspector could be opened
for the object now stored in the array.
Bruce
On 11/09/2007, at 8:08 PM, Michael Kölling wrote:
> 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
>
> _______________________________________________
> mailing list bluej-discuss at bluej.org
> To unsubscribe or change your preferences, go to
> http://lists.bluej.org/mailman/listinfo/bluej-discuss
Bruce Quig
Research Programmer/Analyst
BlueJ Project
School of Engineering & IT
Deakin University
bquig at deakin.edu.au
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.bluej.org/pipermail/bluej-discuss/attachments/20070911/bed3d35c/attachment-0001.html
More information about the bluej-discuss
mailing list