/** Gets the icon path associated with the given module. */ public static String iconPath(final ModuleInfo info) { final String iconPath = info.getIconPath(); if (iconPath != null) return iconPath; final MenuPath menuPath = info.getMenuPath(); return menuPath == null || menuPath.getLeaf() == null ? // null : menuPath.getLeaf().getIconPath(); }
final ModuleInfo info = list.get(row); if (column == 0) { final String iconPath = info.getIconPath(); if (iconPath == null) return null; final URL iconURL = getClass().getResource(iconPath);