RFR: 8290765: Remove parent disabled/treeVisible listeners [v2]

Michael Strauß mstrauss at openjdk.org
Sat Jan 28 16:27:25 UTC 2023


On Fri, 27 Jan 2023 22:01:46 GMT, John Hendrikx <jhendrikx at openjdk.org> wrote:

> Can this not be done in a way that doesn't require this `underInitialization` flag?

That's a good idea, and a also a good observation that the constructor only really sets `treeVisible` to `true`.
I've updated the PR accordingly, which removes some of the complexity. There's no need for additional unit tests, as the expected behavior is already covered by `NodeTest.testIsTreeVisible`.

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

PR: https://git.openjdk.org/jfx/pull/841


More information about the openjfx-dev mailing list