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

On Windows, usage of USER_ATTENTION_WINDOW depends on state setting order

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: client-libs
    • Labels:
    • Environment:

      MS Windows 7 and up

    • Subcomponent:
    • Introduced In Build:
      b116
    • Introduced In Version:
      9
    • Resolved In Build:
      b137

      Description

      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);

        Attachments

          Activity

            People

            • Assignee:
              azvegint Alexander Zvegintsev (Inactive)
              Reporter:
              yan Yuri Nesterenko
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: