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

LWCToolkit.invokeAndWait() should have a way to specify true for running events

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Incomplete
    • Affects Version/s: 8u45
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • CPU:
      x86
    • OS:
      os_x

      Description

      A DESCRIPTION OF THE REQUEST :
      My Java code runs inside non-Java, Cocoa application. I need to display Java Swing dialogs and respond to user input. Currently, calling LWCToolkit.invokeAndWait() draws my dialog, but I get a spinning beach ball (hang) after it draws. User cannot interact with or close the dialog.

      JUSTIFICATION :
      Hanging is Bad.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Users should be able to interact with dialogs, such as clicking 'OK'
      ACTUAL -
      Application hangs.

      ---------- BEGIN SOURCE ----------
      Not practical to reproduce, because this is a plug-in for Filemaker Pro.
      ---------- END SOURCE ----------

        Attachments

          Activity

            People

            • Assignee:
              ssadetsky Semyon Sadetsky (Inactive)
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: