@Override
    public void contentsChanged(@NotNull VirtualFileEvent event) {
      VirtualFile file = event.getFile();
      if (list != null) {
        int index = ((DefaultListModel<?>)list.getModel()).indexOf(file);
        if (index != -1) {
          Rectangle cellBounds = list.getCellBounds(index, index);
          list.repaint(cellBounds);
        }
      }
    }
@Override
    public void contentsChanged(@NotNull VirtualFileEvent event)