ListCellRenderer<VirtualFile> (JBList<VirtualFile> list) { return new PathCellRenderer() { @Override protected void customizeCellRenderer(@NotNull JList<? extends VirtualFile> list, VirtualFile file, int index, boolean selected, boolean focused) { super.customizeCellRenderer(list, file, index, selected, focused); if (isJrtRoot(file)) { setIcon(AllIcons.Nodes.Module); } } }; }