} else { Logger.getLogger(BiosimEditor.class.toString()).error( "Couldn't find file for icon: " + path); return null;
    private static ImageIcon createImageIcon(String path) {        URL imgURL = EditorFrame.class.getClassLoader().getResource(path);        if (imgURL != null) {            return new ImageIcon(imgURL);        } else {            Logger.getLogger(BiosimEditor.class.toString()).error(                    "Couldn't find file for icon: " + path);            return null;        }    }