Re: Giving an application a window icon in a sensible way
- From: "Twisted" <twisted0n3@xxxxxxxxx>
- Date: 19 Nov 2006 21:49:47 -0800
Mark Rafn wrote:
Wouldn't it be MUCH easier to put gif/jpg/png files directly into the jar,
then let the classloader find them using getResource or getResourceAsStream?
First of all, I don't *have* a jar, at least not yet.
Second of all, this is the kind of thing that should really just work
without being able to bomb with IOExceptions and suchlike, in my
opinion. Retrieving even the most basic stuff from a bunch of external
files adds unnecessary points of failure, and gobs of extra recovery
code to check for and cope with anything that goes wrong. This way, it
Just Works(tm). :)
.
- Follow-Ups:
- Re: Giving an application a window icon in a sensible way
- From: Daniel Pitts
- Re: Giving an application a window icon in a sensible way
- References:
- Giving an application a window icon in a sensible way
- From: Twisted
- Re: Giving an application a window icon in a sensible way
- From: Mark Rafn
- Re: Giving an application a window icon in a sensible way
- From: Twisted
- Re: Giving an application a window icon in a sensible way
- From: Mark Rafn
- Giving an application a window icon in a sensible way
- Prev by Date: Re: Giving an application a window icon in a sensible way
- Next by Date: Re: Giving an application a window icon in a sensible way
- Previous by thread: Re: Giving an application a window icon in a sensible way
- Next by thread: Re: Giving an application a window icon in a sensible way
- Index(es):
Relevant Pages
|