Using Application.getApplication().setDockIconImage()
Mike Swingler
swingler at apple.com
Mon Mar 11 14:26:56 PDT 2013
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().
Regards,
Mike Swingler
Apple Inc.
More information about the macosx-port-dev
mailing list