Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #39223
| Path | csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Icons |
| Date | Tue, 17 Dec 2019 21:08:43 +0100 |
| Organization | A noiseless patient Spider |
| Lines | 14 |
| 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> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Tue, 17 Dec 2019 20:08:45 -0000 (UTC) |
| Injection-Info | reader02.eternal-september.org; posting-host="c4e6694090b2627fb44cd6244c34ce71"; logging-data="6700"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+X2oL9JHhbbpkkXfojM5Sz" |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 |
| Cancel-Lock | sha1:LZLZ9vH366DvNl8C7J3MCZUGwUQ= |
| In-Reply-To | <ec56013a-8b0d-4328-83ec-8be7170a894c@googlegroups.com> |
| X-Antivirus-Status | Clean |
| Content-Language | en-US |
| X-Antivirus | AVG (VPS 191216-0, 12/16/2019), Outbound message |
| Xref | csiph.com comp.lang.java.programmer:39223 |
Show key headers only | View raw
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