I want to load up to nine panels in a TilePane. For each pane I have to first run a computation of the content (about 300ms) and then I have to build the Panel (about 500ms).
What I want is, that there are nine ProgressIndicators which exchanges with every panel after its computation.
I tried it with the Platform.runLater
command as well as with a service class. The result was always the same. The ProgressIndicator are shown, but not animated. After seconds there are all panels at once.
Is there a possibility, that the Indicators are animated the whole time and that I can exchange them one after another?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…