<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi,
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
      Alexander.<br>
      It would be good to add robot.waitForIdle(); after call of
      frame.setVisible(true);<br>
      <br>
      24.03.15 13:58, Alexander Scherbatiy wrote:<br>
    </div>
    <blockquote cite="mid:55114365.90905@oracle.com" type="cite">
      <br>
       Hello,
      <br>
      <br>
       Could you review the same fix where the comment about running SWT
      in webstart is removed:
      <br>
         <a class="moz-txt-link-freetext" href="http://cr.openjdk.java.net/~alexsch/8075244/webrev.02/">http://cr.openjdk.java.net/~alexsch/8075244/webrev.02/</a>
      <br>
      <br>
      Thanks,
      <br>
      Alexandr.
      <br>
      <br>
      <br>
      <br>
      On 3/20/2015 1:34 AM, Anton Tarasov wrote:
      <br>
      <blockquote type="cite">On 19/03/15 16:19, Alexander Scherbatiy
        wrote:
        <br>
        <blockquote type="cite">On 3/19/2015 2:03 PM, Anton V. Tarasov
          wrote:
          <br>
          <blockquote type="cite">Hi Alexander, Sergey,
            <br>
            <br>
            I can't say exactly if this is ok to init AWT from that
            point, but even if it is, this seems to introduce new risks.
            At the same time, AFAICS, the root of the original focus
            problem is unknown. Is that the case? Should we try to
            understand it, instead? It is possible that fixing the root
            of the issue would be less risky.
            <br>
          </blockquote>
          <br>
              It is new requirement that NSApplication should be
          initialized before NSScreen using on Mac OS X 10.10 Yosemite:
          <br>
            -----------------------------
          <br>
            NSScreen should be called the first time from the main
          thread (usually as part of -[NSApplication init]) to maintain
          consistency. (
          <br>
            0 AppKit 0x00007fff84c1609a +[NSScreen _prepare] + 56
          <br>
            1 libobjc.A.dylib 0x00007fff8f2e0bd0 _class_initialize + 655
          <br>
            -----------------------------
          <br>
          <br>
             In our case it should be [NSApplicationAWT init].
          <br>
          <br>
             I can't dig deeper in it because problem is in between
          intersection of NSScreen initialization and [JRSAppKitAWT
          registrationOptions: options] calls on Mac OS X Yosemite. Both
          of them do not have public sources.
          <br>
          <br>
            Which risks do you mean? [NSApplicationAWT
          sharedApplication] is called from the SplashInitPlatform()
          method during splash screen creation so we just initialize the
          NSApplicationAWT a bit earlier.
          <br>
        </blockquote>
        <br>
        Ok, if this doesn't introduce essentially different entry points
        into [init], I'm fine with that.
        <br>
        <br>
        Thanks for the details.
        <br>
        <br>
        Regards
        <br>
        Anton.
        <br>
        <br>
        <blockquote type="cite">
          <br>
            Thanks,
          <br>
            Alexandr.
          <br>
          <br>
          <blockquote type="cite">
            <br>
            Thanks,
            <br>
            Anton.
            <br>
            <br>
            On 17.03.2015 14:27, Alexander Scherbatiy wrote:
            <br>
            <blockquote type="cite">
              <br>
              Hello,
              <br>
              <br>
              Could you review the fix:
              <br>
                bug: <a class="moz-txt-link-freetext" href="https://bugs.openjdk.java.net/browse/JDK-8075244">https://bugs.openjdk.java.net/browse/JDK-8075244</a>
              <br>
                webrev:
              <a class="moz-txt-link-freetext" href="http://cr.openjdk.java.net/~alexsch/8075244/webrev.00">http://cr.openjdk.java.net/~alexsch/8075244/webrev.00</a>
              <br>
              <br>
                [NSApplicationAWT sharedApplication] call is added for
              the application initialization.
              <br>
              <br>
              Thanks,
              <br>
              Alexandr.
              <br>
              <br>
            </blockquote>
            <br>
          </blockquote>
          <br>
        </blockquote>
        <br>
      </blockquote>
      <br>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Best regards, Sergey. </pre>
  </body>
</html>