On Tue, 9 Jun 2026 19:10:35 GMT, Andy Goryachev <[email protected]> wrote:

> In other words, instead of the `contextMenu` property in `Control`, `Tab`, 
> `TableColumnBase` it should have been a `contextMenuSupplier` property.

This is a valid point. 
I thought the same thing when looking at `Tooltip` too. 

We create a `Tooltip` and it might never ever be visible. Although in the 
`Tooltip` case, we need the show delay to know how long we need to wait until 
we can show it. But only when the mouse actually moved over the `Node`. So if a 
`Node` was never mouse hovered (or the user navigates only with the keyboard), 
the `Tooltip`, similar to the `ContextMenu` is just created and never used.

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

PR Comment: https://git.openjdk.org/jfx/pull/1773#issuecomment-4663444660

Reply via email to