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

Non-Focusble window steals focus from other applications.

XMLWordPrintable

    • b01
    • x86
    • windows_xp

      The problem is that we have a JFrame that is non-focusable but sometimes when it pops up it steals focus from other applications such as Word, Notepad, even from another instance of our own
      application. When that happens it appears with a blue titlebar, however, you can't
      tab around the window. It does not have a real focus since it is non-focusable but
      the other application that was focused before loses the focus.. Once the JFrame
      in this wierd state is closed the focus goes back to that other application from
      which it was stolen. This is randomly reproducible. However, there is a problem that is
      always reproducible which is when you click on a non-focusable frame while your focus is
      on some other application such as Word, Notepad, even another java application, that other
      application loses focus, while the non-focusable frame does not gain focus since it is
      non-focusable. Once the non-focusable frame is closed, the focus goes right back to the
      application who previously owned it. We think that the first problem is a variation of the
      second one.

            ant Anton Tarasov (Inactive)
            btellasunw Bhanu Tella (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: