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

Inconsistent focus behavior on SwingButton mouse click.

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported: