The `Cell` registers a listener to the `focusedProperty`.
In the listener the `focused` `PseudoClass` is set or unset depending on the 
state of the `focusedProperty` (true/false).
Followed by a TODO, stating: `TODO is this necessary??`

The answer is no, this is unnecessary and already done by `Node`.
The `focusedProperty` will set or unset the "focused" `PseudoClass` in the same 
way that is done in `Cell`.

Mentioned first in this comment  
https://github.com/openjdk/jfx/pull/1935#discussion_r3243531543

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - 8385533: Cell "focused" PseudoClass handling is unnecessary

Changes: https://git.openjdk.org/jfx/pull/2176/files
  Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=2176&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8385533
  Stats: 33 lines in 2 files changed: 29 ins; 2 del; 2 mod
  Patch: https://git.openjdk.org/jfx/pull/2176.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/2176/head:pull/2176

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

Reply via email to