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

Inconsistent focus behavior on SwingButton mouse click.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: fx1.2
    • Component/s: javafx
    • Labels:
      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

        1. Test.fx
          1.0 kB
          Igor Kushnirskiy

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported: