Re: Giving an application a window icon in a sensible way



Joe Attardi wrote:
I'm sorry you take it as hostility and bashing.

"I'm sorry you..." is not (and never is) a genuine apology.

Sorry; please try again.

We are all trying to tell you that what you are trying to do is a really bad way to do it. I
don't understand your resistance to doing it the way that is
universally accepted as the standard way to bundle resources with a
Java app.

Let's consider the following points (ALL of which have been raised
before, but obviously in posts that some participants here have clearly
not bothered to read):
1. At the time I made the initial posting to this thread, a google
search had failed to reveal *any* "standard way" to include icons
whatsoever.
2. Before any replies had been made, further attempts at googling the
topic finally turned up a page on Sun's Java site describing a method
-- the method I actually used. This page also mentioned some other
methods, but those were only applicable to applets, not stand-alone
applications (they involved requesting the icon from a URL, either
relative to document base or code base, from the applet's host server),
while the first method was applicable to both.
3. All of the replies appear to require additional tools (most commonly
Ant). The time investment involved in finding, obtaining, and learning
the additional tools is not justified until I've got more than a single
32x32 gif (and really only if I have stuff that should be localizable
or hot-swappable or something).

As I said in an earlier post, why are you opposed to learning how to
use Ant?

I am not. I *am* opposed to the notion that if someone wants to do a
certain thing, then of all the various ways that it can be successfully
done, there is One True Way and anyone who doesn't do it that way,
whatever the additional complications that entails, must Convert Or
Die! (Well, convert or be flamed, anyway.)

Let's see what lessons I would have learned from you lot if I were the
credulous and gullible type:
1. Never research something yourself using Google and figure out a
successful method on your own.
2. Any method that doesn't require lots of work, new tools, and perhaps
expensive new tools is wrong; if you managed to get it done in under
twenty minutes, you can't possibly have done it right.
3. There is only one way to do anything. There are other ways, perhaps,
that appear to accomplish the same thing, but you will bear a stain on
your soul for all eternity, not that this makes any emprical difference
to anything mind you.
4. When the anonymous person on Usenet tells you to do something, you
do it, without question.
5. The very last place to go for trustworthy information on doing stuff
in Java is www.sun.com. Google and wikipedia must also be stringently
avoided.
6. It's far more important to do things the Standard Way(tm) and
conform and fit in than to actually get something working, or to learn
or accomplish things on your own.
7. A simple solution is usually wrong; a complicated one that involves
at least two completely new build tools or distribution tools is
invariably better.

Allrighty then ...

.



Relevant Pages

  • Re: Powerbuilder 9.0
    ... For all Powerbuilder user who want to convert their applications to ... ..Net or java heres a link i got from google. ...
    (microsoft.public.access.conversion)
  • Re: Calling java (.jar) from C++?
    ... I have a need to call a java database library from C++ applications. ... You need to host the JVM in your application and use the JVM hosting ... accomplish what you need, but the Java interface library is your only ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Calling java (.jar) from C++?
    ... I have a need to call a java database library from C++ applications. ... Can anyone point me in the right direction on how to accomplish this? ... refer "http://www.ikvm.net/"; ...
    (microsoft.public.dotnet.languages.vc)
  • Re: where do you store app wide data?
    ... Not the JVM.. ... Java applications. ... thats the fault of whoever wrote the application - not Java. ... Files are not stored in RAM when you close them. ...
    (alt.php)
  • Re: Open Office Cocoa
    ... noi attualmente usiamo Flash per il playback dei Google Video ... lato client di Internet" usiamo piu` che altro ... AJAX e mi sembra che ci abbiamo fatto delle belle cosine, ... Quanto a Java client-side, non credo che Google al momento ne abbia ...
    (it.comp.macintosh)