IconWallet

From Stack Overflow
Jump to: navigation, search
import javax.swing.ImageIcon;

/**
 * A place to store your icons for immediate use (as opposed
 * to an IconBank, which lets you save your icons for a 
 * rainy day).
 */
public class IconWallet {
    /** Program icon */
    public final static ImageIcon programIcon   = new ImageIcon(IconWallet.class.getResource("/org/ninjasoft/project/ui/filename.gif"));
    // ...etc...

    /** Creates a new instance of IconWallet */
    public IconWallet(){}    
}


Personal tools