views:

93

answers:

3

Hi,

I am new to GUI design, and would like to know if there is somekind of standard "project" that I can find a set of "standard"- or not- images for my various components, e.g. buttons, jtree etc so that my GUI looks nicer. If there are icons by theme, would be great.I am using NetBeans but it seems that there is no library of icons included in it.

Thanks

+1  A: 

Check out http://www.javootoo.com/ for links to a bunch of different look and feel projects, some commercial.

Michael Brewer-Davis
+3  A: 

Don't overlook the Look & Feel icons, mentioned here, and there's no shortage of generously licensed icon themes.

trashgod
@trashgod:The gnome themes is nice. What does it mean to have a GPL for icons? There must be an "about" area in the gui that attributes the icons to the creator or something?
@user384706: Good question. On the site, most themes have a link the author's specified license (e.g. GPL or CC); for others, you have to look in the download file itself.
trashgod
+1  A: 

This code will set the GUI to look mostly like the native GUI:

try {
    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
} catch(Exception e) {
    System.out.println("Error setting native LAF: " + e);
}

It's not perfect since it's basically Sun trying to copy the Windows style (pre-Aero), but I like it a lot better than the default Swing style. I've never tried it on a Mac so I can't comment on the accuracy there.

Tom Smilack
The Mac version is much better when combined with Werner Randelshofer's Quaqua look and feel: http://www.randelshofer.ch/quaqua/
Michael Brewer-Davis
On Mac, `UIManager.getSystemLookAndFeelClassName()` returns `com.apple.laf.AquaLookAndFeel`, which is the default.
trashgod
OTOH, maybe the OP will like the default Swing look. Full style guide with example windows at http://java.sun.com/products/jlf/ed2/book/index.html.
Michael Zuschlag