RFR: 8090456: Focus Management [v8]

Andy Goryachev angorya at openjdk.org
Fri Oct 11 19:10:23 UTC 2024


On Fri, 11 Oct 2024 18:59:43 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:

> It's more like the existing tools are sufficient for this particular scenario. Or put another way: a custom TraversalPolicy is not less complex than what I've described, since it needs to solve exactly the same problems (namely, selecting the next input field according to business rules).

Thank you for clarification!

This solution might get more complicated if the form consists of sub-forms loaded dynamically.  It might be easier and cleaner from the design and maintainability perspective to delegate the traversal to sub-form's traversal policies.

I mean, we can create UIs by writing to the frame buffer pixels directly, but we invent things to make the process easier, so I am not sure I buy this argument completely.

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

PR Comment: https://git.openjdk.org/jfx/pull/1555#issuecomment-2407981744


More information about the openjfx-dev mailing list