On Thu, 18 Jun 2026 00:17:09 GMT, John Hendrikx <[email protected]> wrote:

> The stats you showed lead me to a different conclusion: style class is 
> usually used, and most things do have styles associated with them, including 
> containers; most containers I create definitely have a style, they just don't 
> have one by default.

Yes. It might still be a good idea though, but I agree that it seems to have 
the biggest advantage for Chart/`Shape` heavy apps from what I measured. 

It would be interesting to also measure an app that uses many `Shape3D` 
instances. As those have no `styleClass` as well by default. So I think those 
applications should also benefit from this. But I unfortunately don't have any 
myself, maybe I will check the `Jfx3dViewerApp`.

I still plan to test with some more application, but currently not at home so 
need to setup some of the projects on my laptop first.

-------------

PR Comment: https://git.openjdk.org/jfx/pull/2191#issuecomment-4738550561

Reply via email to