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

Document that applications should avoid flooding FX with Platform.runLater calls

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 7u6
    • javafx

      Numerous api users seem to be abusing the Platform.runLater() api by calling it very often (hundreds of times per second), which causes their applications to behave strangely and they don't know why.

      Add a recommended maximum number of calls per minute to the Platform.runLater javadoc so that API users are aware that they should not be invoking this API too often.

      For related forum threads and user questions see:
      http://stackoverflow.com/questions/10607507/javafx-2-blank-label-refresh-issue
      https://forums.oracle.com/forums/thread.jspa?messageID=10170806

            kcr Kevin Rushforth
            josmithjfx John Smith (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: