Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #21496

Re: icon change

X-Received by 10.224.198.196 with SMTP id ep4mr4201808qab.3.1358462545677; Thu, 17 Jan 2013 14:42:25 -0800 (PST)
X-Received by 10.49.39.99 with SMTP id o3mr1726938qek.14.1358462545649; Thu, 17 Jan 2013 14:42:25 -0800 (PST)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!p13no1107139qai.0!news-out.google.com!k2ni675qap.0!nntp.google.com!p13no1107137qai.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.java.programmer
Date Thu, 17 Jan 2013 14:42:25 -0800 (PST)
In-Reply-To <stevewjackson-8E1892.15234817012013@news.individual.net>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=184.76.139.203; posting-account=v1lx5wkAAAALWYfGBkwkMb2guPF9cW2u
NNTP-Posting-Host 184.76.139.203
References <66a4c044-75c3-49e1-b149-1618f152c044@googlegroups.com> <391a71e1-4c1d-463f-955a-8d3c8c5f7657@googlegroups.com> <3cfa1dd3-163c-479a-ad66-99a49664f4c5@googlegroups.com> <stevewjackson-8E1892.15234817012013@news.individual.net>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <8b02efed-d1d5-4524-8213-2181c1ad5097@googlegroups.com> (permalink)
Subject Re: icon change
From bob smith <bob@coolfone.comze.com>
Injection-Date Thu, 17 Jan 2013 22:42:25 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.lang.java.programmer:21496

Show key headers only | View raw


On Thursday, January 17, 2013 3:23:49 PM UTC-6, Steve W. Jackson wrote:
> In article <3cfa1dd3-163c-479a-ad66-99a49664f4c5@googlegroups.com>,
> 
>  bob smith <bob@coolfone.comze.com> wrote:
> 
> 
> 
> > On Thursday, January 17, 2013 1:32:12 PM UTC-6, FredK wrote:
> 
> > > On Thursday, January 17, 2013 11:21:41 AM UTC-8, bob smith wrote:
> 
> > > 
> 
> > > > I have a Swing app, and I want to change the icon that shows in the 
> 
> > > > bottom bar when it runs. Anyone know how to do that? Right now, it's a 
> 
> > > > coffee cup.
> 
> > > 
> 
> > > 
> 
> > > 
> 
> > > frame.setIconImage(image);
> 
> > 
> 
> > Thanks.
> 
> > 
> 
> > That seems to work on Windows, but not on Mac.
> 
> 
> 
> That's because the Windows task bar automatically picks up the frame's 
> 
> icon, whereas the Mac OS X environment uses a totally different 
> 
> technique.  It's picking up the icon of the application actually 
> 
> running, which is Java itself.  To change that, you'll have to learn how 
> 
> to "bundle" a Mac app.
> 
> -- 
> 
> Steve W. Jackson
> 
> Montgomery, Alabama



Yeah, I figured out how to bundle a Mac app.

I guess I was hoping though to have a single JAR file that would be icon-correct on Windows and Mac.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

icon change bob smith <bob@coolfone.comze.com> - 2013-01-17 11:21 -0800
  Re: icon change FredK <fred.l.kleinschmidt@gmail.com> - 2013-01-17 11:32 -0800
    Re: icon change bob smith <bob@coolfone.comze.com> - 2013-01-17 13:08 -0800
      Re: icon change "Steve W. Jackson" <stevewjackson@knology.net> - 2013-01-17 15:23 -0600
        Re: icon change bob smith <bob@coolfone.comze.com> - 2013-01-17 14:42 -0800
          Re: icon change FredK <fred.l.kleinschmidt@gmail.com> - 2013-01-18 08:30 -0800
  Re: icon change Roedy Green <see_website@mindprod.com.invalid> - 2013-01-17 14:18 -0800

csiph-web