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

Avoid showing instruction frame prematurely

XMLWordPrintable

    • b21
    • 22

      When a PanelCreator is used or one window is passed to PassFailJFrame, the method positionTestWindow is called:

      positionTestWindow(dialog, builder.position);

      Window window = builder.testWindows.get(0);
      positionTestWindow(window, builder.position);

      This call shows the instruction frame right away.

      Later, showAllWindows() is called to display all the registered windows, which includes the instruction frame. Therefore showing the instruction could be deferred until all the windows are ready to be shown.

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

              Created:
              Updated: