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

TextBox does not gain focus when clicking on it, when the stage in which it is located is not focused and there is focused swing component on it

XMLWordPrintable

      I have 2 stages. One stage containing a text box and another one containing the controls to play with the text box. Now the focus is in the controls window and textbox window is not having focus. When I click on the textbox, I expect the corresponding stage to become focused and at the same time textbox should be the focused component. However, what I see is that only the stage is getting the focus and not the textbox. I need to click on the textbox again to make it focusable.

      I reproduced it on Marina-b05 with WinXP.

      To reproduce the bug, run the attached test. This is a regression introduced in Marina and it works fine on Franca.

            naoto Naoto Sato
            pmohan Praveen Mohan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: