Iconized image size
From: Fred L. Kleinschmidt (fred.l.kleinschmidt_at_nospam_boeing.com)
Date: 03/26/04
- Next message: Dave Rudolf: "Handling mouse events differrently, depending on focus"
- Previous message: John Blaze: "Read file contents into a list"
- Next in thread: Thomas Weidenfeller: "Re: Iconized image size"
- Reply: Thomas Weidenfeller: "Re: Iconized image size"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 26 Mar 2004 19:42:49 GMT
How can I determine the size (maximum size and minimum size) of the icon
displayed when a Frame is iconized?
Most Unix window managers use 50x50 pixels, while PC's typically use
16x16.
My goal is to periodically update the image used in the iconized state.
Since some images do not scale very well, it is best to draw the image
in its correct size - but how to find that size?
I can use f.setIconImage(null) to specify the default icon, but a
subsequent call to f.getIconImage() still returns null, not the default
Image, so I cannot interrogate its size.
-- Fred L. Kleinschmidt Boeing Associate Technical Fellow Technical Architect, Common User Interface Services M/S 2R-94 (206)544-5225
- Next message: Dave Rudolf: "Handling mouse events differrently, depending on focus"
- Previous message: John Blaze: "Read file contents into a list"
- Next in thread: Thomas Weidenfeller: "Re: Iconized image size"
- Reply: Thomas Weidenfeller: "Re: Iconized image size"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|