<blockquote>Date: Wed, 27 Jun 2007 16:35:27 +0100<br>From: "Michael Davies" <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:mykdavies+squeak@gmail.com">mykdavies+squeak@gmail.com</a>>
<br>Subject: Re: [Newbies] SampleCode-ImageViewer<br>To: "A friendly place to get answers to even the most basic questions<br> about Squeak." <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:beginners@lists.squeakfoundation.org">
beginners@lists.squeakfoundation.org</a>><br>Message-ID:<br> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:ef9f0b4e0706270835u7c061ac1nc456db47282b1e39@mail.gmail.com">ef9f0b4e0706270835u7c061ac1nc456db47282b1e39@mail.gmail.com
</a>><br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br><br>(re-sent as my original didn't get through)<br><br>Hi Wade, Edgar,<br><br>I wrote that sample application, so I'm sorry you had problems getting
<br>it working. As you worked out, it's fussy about the (number, and case<br>of) file extensions it recognises. I've fixed those issues and uploaded a<br>new version, as I'm sure that this will have caused other people
<br>problems too.<br><br>Edgar - you mentioned that you'd have done things differently. I<br>started writing a more complex application, but realised that image<br>handling on my Mac wasn't very fast, so I stripped the application
<br>back down, but thought it was useful to document what I'd produced as<br>I had a lot of trouble getting to a core SystemWindow-based<br>application. Are you saying that (i) using SystemWindow is not the<br>approach you'd have taken, or (ii) that's not how you'd have implemented a
<br>SystemWindow-based application? (or both!).<br><br>I'd appreciate any comments you have, and may add them to the<br>application as warnings to anyone who picks it up in future.<br></blockquote><br>I found that it worked OK after I arranged for the file extension check to look of #JPG and #JPEG.
<br><br>The other problems I was having with it were because I was not hitting enter on the PluggableTextMorph before clicking on the goBack and goNext buttons. I'm not sure why I didn't notice the comments and balloon help about pressing enter in the PluggableTextMorph.
<br><br>I haven't had time to look at it more deeply since. I would have thought it would be nice if the goNext/Back buttons cause the directory field to accept if it hadn't already, I think this would be more in keeping with the behavior of modern GUIs. I didn't see an obvious way to make that happen.
<br>