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

FocusEvent.getOppositeComponent returns null on X11 AWT

XMLWordPrintable

    • x86, sparc
    • linux, solaris

      How to reproduce:

      1. Compile and run the attached program.
      2. Click on either of the two buttons. This will bring up an InputMethodWindow
      3. Click on the InputMethodWindow. Then a focus lost event for the main window is printed out, saying that the getOppositeComponent returns null.

      Expected result: At 3, return a non-null component that would receive the focus.

      naoto.sato@Eng 2001-04-23

            mmartaksunw Michael Martak (Inactive)
            naoto Naoto Sato
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: