Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #39223
| From | Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Icons |
| Date | 2019-12-17 21:08 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <qtbckd$6hc$1@dont-email.me> (permalink) |
| References | <b08206ab-ea52-4b05-b887-8002a42f3172@googlegroups.com> <qt35pm$mse$1@dont-email.me> <da18afe3-0aff-4098-a3a0-3fe2c5aef7c7@googlegroups.com> <qt9a47$un1$1@dont-email.me> <ec56013a-8b0d-4328-83ec-8be7170a894c@googlegroups.com> |
On 2019-12-17 15:09, Eric Douglas wrote: > On Monday, December 16, 2019 at 8:23:00 PM UTC-5, Daniele Futtorovic wrote: >> Please do let us know whether, if you supply a transparent 1x1px "small" >> image and a full "bigger" image, Swing doesn't try to be too clever and >> instead does what you expect. > > The person in that post didn't know, I started tracing the Oracle code and it's not so easy to find, on what it does exactly with what image sizes. > I tested with a 1x1 and a 90x90 image and it used the large image for both. I made the dummy transparent 1x1 a 16x16 and it used the small image for both. So I did a scale to make the 90x90 a 32x32 and it used the small image in the corner and the larger one on the taskbar. Nice! Thanks for the follow-up! -- DF.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
Icons Eric Douglas <e.d.programmer@gmail.com> - 2019-12-11 05:35 -0800
Re: Icons Martin Gregorie <martin@mydomain.invalid> - 2019-12-11 16:22 +0000
Re: Icons Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2019-12-14 18:22 +0100
Re: Icons Eric Douglas <e.d.programmer@gmail.com> - 2019-12-16 08:18 -0800
Re: Icons Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2019-12-17 02:13 +0100
Re: Icons Eric Douglas <e.d.programmer@gmail.com> - 2019-12-17 05:44 -0800
Re: Icons Eric Douglas <e.d.programmer@gmail.com> - 2019-12-17 06:09 -0800
Re: Icons Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2019-12-17 21:08 +0100
csiph-web