great....the code that reads in the byte[ ] should...
# tornadofx
c
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
byte[] in a Task? I'm not sure what you're referencing to, can you expand a little more?
c
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
Is there a way to track that?
c
yes. a loop inside of a Task that makes various updateProgress(1/n,1.0) and updateMessage() calls
see the previous discussion about runAsync() and ui() for the tornadofx constructs