1 Reply Latest reply: Jan 11, 2013 4:20 PM by aidreamer RSS

    slow response to runtime changes in gui

    oajamfibia
      HI,

      In my JavaFx 2.2 app, a scheduled task is listening to a usb device. When data comes from the device, the thread needs to update some text and stuff in the ui.
      The updates are done via a Runtime.runLater and it works. Problem is that the ui reacts very slowly. I can see that the ui reacts to the changes after 1-2 seconds. The changes are small stuff like changing the text in as few labels and hiding or showing a panel.

      I expect changes like that to be visible instantly. What am I doing wrong ? Is there a way to provoke a refresh of the scene ?