PropertyRenderer<BorderType> () { return new LabelPropertyRenderer<>() { @Override protected void customize(@NotNull final BorderType value) { @NlsSafe String name = value.getName(); setText(name); } }; }