Re: Giving an application a window icon in a sensible way
- From: "Daniel Dyer" <"You don't need it">
- Date: Tue, 21 Nov 2006 20:20:29 -0000
On Tue, 21 Nov 2006 14:32:55 -0000, Twisted <twisted0n3@xxxxxxxxx> wrote:
Ian Wilson wrote:You must be aware that Eclipse has a wizard for creating Jars. I find it
a lot less complex than your method of encoding image data within
class files seems.
Create a jar every edit-test-debug cycle? That adds up when you are
rapidly tweaking and adjusting something. As opposed to something you
can just "set and forget".
It should take less than a second to create a JAR file, unless you have hundreds of classes in it or a very slow machine. It should also be trivial to make it part of the automated build process even if you are not using Ant.
One advantage of building the JAR every time is that you will be testing the build that you will eventually deploy, rather than running from a classes directory that won't be deployed. With a JAR file you don't have to worry about setting a classpath to run your program and both the main class and any dependent JAR files can be specified in the manifest.
The problem I see with your approach is there is a lot more work if you want to change the image. This might not be a problem right now but is something to keep in mind.
Dan.
--
Daniel Dyer
http://www.uncommons.org
.
- Follow-Ups:
- 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
- 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: Daniel Pitts
- 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: Ian Wilson
- Re: Giving an application a window icon in a sensible way
- From: Twisted
- Giving an application a window icon in a sensible way
- Prev by Date: Re: How to listen out for a stream of data coming from (web)server
- Next by Date: Re: PreparedStatement problem
- 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
|