Thanks Mikey. I turned my Mac off and then back on and lo and behold I
got the icon I expected. I do have to say that I'm a bit disappointed
as this the behavior I'd expect from Windows, not from Mac. Anyway,
thanks a lot for your help.
Sander
Quoting Michael McDougall <email@hidden>:
> I'm pretty sure this is just an interaction between the Finder and
> Jar Bundler - it doesn't always recognize the custom icon when you
> rebuild. One simple test is to duplicate the bundled application in
>
> the Finder see if the icon shows up; if it doesn, then we're on the
>
> same page.
>
> As an alternative, try to touch the .app bundle (from Terminal), or
>
> to move the application to a different folder. I think also logging
>
> out/in will make the icon show up.
>
>
> Mikey McDougall
>
> On Jul 6, 2006, at 10:33 AM, Sander A. Smith wrote:
>
> > I'm a long time Java developer, but have only had my Mac for a
> week
> > now, so please excuse me if I get some of my terminology wrong.
> >
> > I have a small Java application that consists of a few jar files
> that
> > I bundled together into a Mac application. The app ran beautifully
> the
> > first time around - much better than on Windows or Linux where I
> have
> > to have a batch file/script to set everything up (as well as deal
> with
> > the possibility of no JVM installed).
> >
> > Anyway, I wanted to be more Mac-like, so I tried to associate an
> icon
> > file. I hacked together an .icns file, and pointed to it in
> Bundler.
> > The application that gets created does not have this icon - what I
> > mean is the thing that gets clicked on to launch doesn't have this
> > icon. The icon that shows is some generic application icon, very
> > similar to the icon on the Applications folder.
> >
> > However, when I launch the application, my icon DOES show up in
> the
> > dock, and it does get bigger and smaller when I mouse over the
> dock
> > (very cool).
> >
> > Anyway, I have no idea how to fix this or what to look at, or even
> if
> > this is a real problem. Please let me know how to proceed on this.
> >
> > Sander Smith
> >
> > --
> > Sander A. Smith
> > President
> >
> > Sericon Technology Inc.
> > 71 Marquette Ave.
> > Toronto, Ontario M6A 1X8
> > (416)781-3988
> >
> > Learn about enterprise security for home-based servers
> > www.autossl.com
> >
> > www.sericontech.com
> > _______________________________________________
> > Do not post admin requests to the list. They will be ignored.
> > Java-dev mailing list (email@hidden)
> > Help/Unsubscribe/Update your Subscription:
> >
> http://lists.apple.com/mailman/options/java-dev/mmcdougall%
40apple.com
> >
> > This email sent to email@hidden
>
--
Sander A. Smith
President
Sericon Technology Inc.
71 Marquette Ave.
Toronto, Ontario M6A 1X8
(416)781-3988
Learn about enterprise security for home-based servers
www.autossl.com
www.sericontech.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden