Using Application.getApplication().setDockIconImage()
Paul Taylor
paul_t100 at fastmail.fm
Tue Mar 12 03:15:31 PDT 2013
On 11/03/2013 21:26, Mike Swingler wrote:
> On Mar 11, 2013, at 2:06 PM, Paul Taylor <paul_t100 at fastmail.fm> wrote:
>
>> When I minimize the main window of my application can you set the image of the minimized window on the dock with
>>
>> Application.getApplication().setDockIconImage()
>>
>> or is that for the application icon on the dock.
>>
>> Apologies if I'm using the wrong terminology, I'm not an OSX native.
>>
>> If this is true,is there way to automatically set the image to a representation of the window with a minimized icon image at the lower right handside, as this seems to be what other applications do.
> Application.setDockIconImage() is only for the application icon.
>
> If you want the default behavior (show a miniature version of the window) for a frame *do not* call Frame.setIconImage().
Ah, thanks Mike that was easy
Paul
More information about the macosx-port-dev
mailing list