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

On Windows, usage of USER_ATTENTION_WINDOW depends on state setting order

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • client-libs
    • MS Windows 7 and up

    • b116
    • 9
    • b137

      On MS Windows we support now Taskbar.Feature.USER_ATTENTION_WINDOW.
      For instance, the attached code works well: after a second, an icon on the taskbar starts flashing.
      However if you change the order of these two lines, it doesn't work any more:
              f.setState(Frame.ICONIFIED);
              f.setVisible(true);

            azvegint Alexander Zvegintsev
            yan Yuri Nesterenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: