Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Daniele Futtorovic Newsgroups: comp.lang.java.programmer Subject: Re: Icons Date: Sat, 14 Dec 2019 18:22:51 +0100 Organization: A noiseless patient Spider Lines: 10 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Date: Sat, 14 Dec 2019 17:23:02 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="74b5fe549ca9595c2d59b44bc9eeb65c"; logging-data="23438"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ITDQs51Av5dgc3V2sBQG7" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 Cancel-Lock: sha1:bdYmEAitRMBspr0NDARWMiXnnLE= In-Reply-To: X-Antivirus-Status: Clean Content-Language: en-US X-Antivirus: AVG (VPS 191213-2, 12/13/2019), Outbound message Xref: csiph.com comp.lang.java.programmer:39218 On 2019-12-11 14:35, Eric Douglas wrote: > Every application has an icon, if I open Chrome or Word I see an icon on the taskbar, but many of those applications no longer show the icon in the upper left corner if their windows. > > If I create a JFrame it shows an icon in the upper left corner. If I set the icon image to null it displays the old Java cup. The only way to make that completely go away is to call setUndecorated(true) which removes the entire title bar, which is then tedious to add back in with the minimize, maximize, and close buttons to just make the image go away. Is there something easier now I'm missing? I am currently using Java 8 but would also like to hear if something has been added for this in a newer version. > -- DF.