On Tue, 8 Oct 2024 04:36:16 GMT, Nir Lisker <nlis...@openjdk.org> wrote:
> I don't see why they are related, but if `Paint` can't be subclassed then I > don't see a reason not to seal it. I can envision possibilities to create new > paints, like other types of gradients. There's nothing inherently stopping > that except for access to methods like platform paint. They are in the same package, and they are related insofar as an argument for sealing `Material` would also apply for `Paint`. I'll do that in a separate PR. ------------- PR Comment: https://git.openjdk.org/jfx/pull/1556#issuecomment-2398827435