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

Linux: Implement apartment threading for SWT (honor the "javafx.embed.isEventThread" property)

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: fx2.1
    • Fix Version/s: fx2.1
    • Component/s: javafx
    • Labels:
    • Environment:

      Linux Ubuntu

      Description

      Interop with SWT shipped in FX 2.0.2 on Mac and Windows. A unique feature of running FX in SWT is that both toolkits are apartment threaded and both share the same thread. This means that runLater() does not need to be called to communicate between the toolkits.

      On Windows and Mac, a property is used to avoid starting the event loop thread in the C code. The property needs to be implemented on Linux and any associated code that ensures that SWT's GTK initialization is used.

      I can help with any issues involving SWT start up.

        Attachments

          Activity

            People

            • Assignee:
              ekrejcir Eva Krejčířová (Inactive)
              Reporter:
              snorthov Steve Northover (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: