Hello,
Your suggestion, quite justified, led me to make several observations.
a) when notes are associated with an element, it is usually indicated by a *. In the case of a truncation of the name this * disappears. So I decided to put it as the first character.
b) the standard operation of the JTree implies a truncation on the first space encountered. For a scene this is replaced by a 30 characters truncation. For the other elements the regular truncation, on the first space, is applied. So I modified the code to apply the same rule for all element types (first 30 characters). In addition I will add a preference to request that the truncation is neutralized.
Thank you very much for your suggestion.
Translated with www.DeepL.com/Translator (free version)