<Swing Dev> RFR: 8253016: Box.Filler components should be unfocusable by default [v2]

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Tue Sep 15 13:07:13 UTC 2020


> Please review a fix for an issue where it is seen that even though Box.Filler components are invisible components that
> are created by Box methods to return struts and glue, they ( Box.Filler instances) are focusable by default. As a
> consequence, they become members of the implicitly created focus traversal policies, which means that their existence
> as components can be seen by users.  Proposed fix is to make this Filler components unfocusable by default.  All
> automated headful tests and JCK tests are unaffected by these.

Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:

  Modified testcase to move frame to center

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/149/files
  - new: https://git.openjdk.java.net/jdk/pull/149/files/d62da2e2..6426d44f

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=149&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=149&range=00-01

  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/149.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/149/head:pull/149

PR: https://git.openjdk.java.net/jdk/pull/149


More information about the swing-dev mailing list