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

Position the first window of a window list

XMLWordPrintable

    • b21
    • 22
    • b17

        Support of multiple test UI windows in PassFailJFrame is still evolving. After JDK-8340210, the Builder has a method `positionTestUI` to supply an implementation of PositionWindows interface which should handle the positioning of all test UI windows created.

        If PositionWindows is not provided, all the test UI windows are left with the default coordinates: 0, 0.

        If PassFailJFrame called positionTestWindow for the first window, it would allow the test developer to position other windows based on the position of the first one.

        See https://github.com/openjdk/jdk/pull/21029#discussion_r1763744407

              aivanov Alexey Ivanov
              aivanov Alexey Ivanov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: