Shane, that was quick many thanks !
Changed case on setIcon and no more error. Ran the applet and its icon is now showing.
To get get a custom icon to show, I tried pasting the image into the applet’s “GetInfo”. But that didn’t work. I had to put the custom icon file into “Contents/Resources” and name it “applet.icns”. Logical but a trap for this neophyte.
Another two questions if I may. First, is there a way to define the “cancel button” [except by using the label “Cancel”] as there is in AppleScript’s display dialog ? I would like a “Quit” button that works when the user presses Esc (as it would with Cancel).
Second, the create labeled path control doesn’t seem to update itself if the user selects one of the items in the drop down (e.g. the user’s home folder). However, it does update if the user drags a folder over it or selects “Choose…” and selects a folder. Is that the current behaviour ?
Edited: change to a relevant example in question 2