Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8107385

Inconsistent focus behavior on SwingButton mouse click.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • fx1.2
    • None
    • javafx
    • None

      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.

            idk Igor Kushnirskiy (Inactive)
            idk Igor Kushnirskiy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: