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

ObservableList update in Task thread not possible

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: fx2.0.1, fx2.0.3
    • Fix Version/s: None
    • Component/s: javafx
    • Environment:

      Windows XP SP2 32 bit, java 6u29

    • Subcomponent:

      Description

      While I can modify for example TextAreas, Buttons, etc on the GUI in a running Task<Void> class instance, I cannot modify for example a VBox's children (VBox.getChildren). Adding, clearing seems to be ommited, an error says that the current thread is not a Java FX Thread, which is true, but then how I could update other GUI elements which as I thought could not be updated in normal threads?

        Attachments

          Activity

            People

            • Assignee:
              mheinrichs Michael Heinrichs (Inactive)
              Reporter:
              duke J. Duke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: