On Fri, 15 May 2026 21:31:37 GMT, Marius Hanl <[email protected]> wrote:
> I wonder if `null` could also indicate: I don't want tab graphics, so I set > the factory to `null`. no, the javadoc says it provides the default functionality > I think developers usually would not change the tab menu graphic factory just > to revert it back at one point. I wouldn't be so sure (maybe in this particular corner case). Several times I had to deal with default values (often some obscure non-public classes to boot) when the UI calls for runtime selection via e.g. "Preferences" menu. `null` is convenient in this way, and there is nothing the default factory itself can provide... ------------- PR Comment: https://git.openjdk.org/jfx/pull/1773#issuecomment-4464145135
