233234235236237238239240241242243
iconNames[1] = rect; iconNames[2] = din; } private SVGIcon getIcon(int type) { SVGIcon ret = icons[type]; if (ret != null) { return ret; } else { String iconName = iconNames[type]; if (iconName == null) {
16171819202122
private static final String path = "logisim/icons"; private Icons() { } public static SVGIcon getIcon(String name) { return new SVGIcon(name); }