Are hidden animations costless?
Randahl Fink Isaksen
randahl at rockit.dk
Mon Dec 3 01:15:34 PST 2012
Say, I have two panes each one showing a bouncing beach ball, and one showing a bouncing tennis ball, and a button for switching between them (by setting visible to true and false). Then, when the bouncing beach ball pane is shown, and the bouncing tennis ball is hidden, does JavaFX then automatically save the resources otherwise spent on animating the tennis ball?
In other words: Do timelines of things that are invisible consume CPU?
More information about the openjfx-dev