code: protected static java.awt.Window[] getDisplayableWindows()
      {
          return Stream.of(java.awt.Window.getWindows()).filter(java.awt.Window::isDisplayable).toArray(java.awt.Window[]::new);
      }
docs: Returns the displayable windows.
  @return an array containing the displayable windows