@Override
  public void customize(@NotNull JList<? extends Module> list, Module value, int index, boolean selected, boolean hasFocus) {
    if (value == null) {
      setText(myEmptySelectionText);
    }
    else {
      setIcon(ModuleType.get(value).getIcon());
      setText(value.getName());
    }
  }
@Override
  public void customize(@NotNull JList<? extends Module> list, Module value, int index, boolean selected, boolean hasFocus)