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

KeyEvents not getting received by JTextField

    XMLWordPrintable

    Details

      Description

      FULL PRODUCT VERSION :
      java 7 update 95

      ADDITIONAL OS VERSION INFORMATION :
      Windows 7

      A DESCRIPTION OF THE PROBLEM :
      The text entered into the JTextFields are not displayed on the first launch of the application.
      The JTextField has the focus and we also see that the caret is visible and blinking. The JTextField object lies within a JPanel which i turn is added to a JFrame component. KeyListeners have been added to the textfield objects. They start responding only after the window is restored after minimizing. The same code works without any issue with java 1.6. Only seen with versions 1.7 and above.

      REGRESSION. Last worked in version 6u45

      ADDITIONAL REGRESSION INFORMATION:
      java 1.7.0_95


      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Activity

            People

            Assignee:
            pardesha Pardeep Sharma
            Reporter:
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: