When a swing component receives focus on mouse click scene's focus state becomes inconsistent.
Previous focus owner node stays in focused state while swing component receives key events while being in focused=false state.
Run the attached test case.
Click on "press me" button.
If the first rectangle stays "red" the bug is reproducible.
Previous focus owner node stays in focused state while swing component receives key events while being in focused=false state.
Run the attached test case.
Click on "press me" button.
If the first rectangle stays "red" the bug is reproducible.