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

Input focus on JTextField has wrong behavior.

XMLWordPrintable

    • x86
    • windows_nt

      Input focus on JTextFeild has been lost for something under specific
      condition. The customer has provided a test case to demonstrate the
      problem. The problem does not occur on AWT component. Moreover, the
      problem does not occur, if we don't use Java Plug-in.

      This is steps to reproduce it.

      (1) Compile the test case with Swing class library.
      (2) Load an HTML page which contains the test case Applet by IE4.0.1.
          At this time, you can look at two textfields and six buttons.
          All components on left column are used Swing API, and other components
          are used AWT API.

      (3) Click "Break" button of letf-hand side on the applet.
      (4) Click textfield on left-hand side.
          At this time, the caret would be not appeared. However, echo characters
          are appeared if you enter any characters.
      (5) Click "Break2" button of left-hand side next.
      (6) Click textfield on left-hand side again.
          At this time, the caret would be not appeared, and moreover echo
          characters are NOT appeared if you enter any characters.

      The customer has claimed that behavior on step (4) and (6) would be a bug
      relating to Plug-in or Swing.

      I have verified under the following environment.

      (1) AT compatible PC(COMPAQ DESKPRO XE 466)
      (2) IE4.0.1 (SP2)
      (3) Japanese Windows 95
      (4) Java Plug-in 1.1.2 for Win32

      I also verified that this problem has occured in Netscape Communicator4.5.

            duke J. Duke
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: