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



"RedGrittyBrick" <RedGrittyBrick@xxxxxxxxxxxxx> wrote in message
As I already said, to create a new GUI project I cut and paste (Ctrl+C
Ctrl+V) from a myGuiTemplate.java or elsewhere.

You can get Eclipse to insert stuff by clicking the light bulb in the left
margin. Either Alt+Space (Content Assist) or Ctrl+1 (Quick Fix) can be
useful too. Use Ctrl+O to get the imports done for you. Surely you already
know all this?

(I'm guessing it creates a new stub Swing-app
project in a couple of mouse clicks and one typed-in project name,

There may be a way of doing that but I don't know of it.

You can redesign the stubs, but not create new stubs (AFAIK). Go into
the preference window and search for "code template". I've changed the
default method bodies from "return null;" to "throw new
NotImplementedException();", for example.

- Oliver


.