public static ImageIcon getImageIcon(String name)
    {
    	Toolkit toolkit = Toolkit.getDefaultToolkit();
    	
        URL url;

        /*if (hashtable.containsKey(name) == true)
            return (ImageIcon) hashtable.get(name);

        ImageIcon icon = new ImageIcon(toolkit.getImage(AnalyseFrame.class.getResource("images/" + name)));
        
        hashtable.put(name, icon);
        
        return icon;
        */

        url = ClassLoader.getSystemResource("org/analyse/core/gui/images/" + name);        
        if (url == null) {
            url = ClassLoader.getSystemResource("org/analyse/core/gui/images/home.png");
        }

        ImageIcon icon = new ImageIcon(url);

        hashtable.put(name, icon);

        return icon;
    }