great....the code that reads in the byte[] should be in a Task too with a progress bar (when you get around to it)
a
amanda.hinchman-dominguez
10/26/2017, 2:50 PM
byte[] in a Task? I'm not sure what you're referencing to, can you expand a little more?
c
carlw
10/26/2017, 3:00 PM
The relatively time-consuming task of loading the bytes into the image objects for display. For a few images, this won't be that noticeable but it's a potential bottleneck.
a
amanda.hinchman-dominguez
10/26/2017, 3:18 PM
Is there a way to track that?
c
carlw
10/26/2017, 3:22 PM
yes. a loop inside of a Task that makes various updateProgress(1/n,1.0) and updateMessage() calls
carlw
10/26/2017, 3:22 PM
see the previous discussion about runAsync() and ui() for the tornadofx constructs