I don't know the history, so your guess is as good as any.
I looked at JDK 8 and createSimple was never used there either. That's
as far back as I care about.
So I think they can be deleted unless someone comes up with a case where
we should be using them.
-phil.
On 9/17/25 7:11 AM, Daniel Gredler wrote:
Hi all,
I can't find any uses of the `TextSourceLabel` class, or of the
associated factory method `TextLabelFactory.createSimple( )` -- which
seems to mirror `TextLabelFactory.createExtended( )` but without any
decorations (underlining, strikethrough, etc). Possibly there was a
need to support unstyled text at one point, but the code was
eventually migrated to always use styled text?
Is anybody aware of the history of this class and factory method?
Can they be deleted?
Take care,
Daniel