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


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

Re: icon change

Newsgroups comp.lang.java.programmer
Date 2013-01-17 14:42 -0800
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>
Message-ID <8b02efed-d1d5-4524-8213-2181c1ad5097@googlegroups.com> (permalink)
Subject Re: icon change
From bob smith <bob@coolfone.comze.com>

Show all headers | 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