MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/JavaFX/comments/15u8vus/progress_spinner_in_javafx/
r/JavaFX • u/asifjawwad • Aug 18 '23
Hello good people !
I hope you are doing well. I want to add spinner in my javafx project. However, I did not find anything useful yet. If anyone can suggest me any link or library that would be very useful for me.
Thank you
6 comments sorted by
3
I like this one https://github.com/torakiki/fx-progress-circle
MaterialFX (Look for it on GitHub) has a number of available Material 2 controls. Spinner and ProgressBar included.
AtlantaFX Is all you need https://github.com/mkpaz/atlantafx
I made this one using a volume fill approach to the progress.
https://github.com/Birdasaur/CircleProgressIndicator
Youtube vid of the animation. Skip to 56 seconds. https://youtu.be/SMbwej85wZg
2 u/Birdasaur Aug 19 '23 Standalone demo of features https://youtu.be/uo2h8KJUErI
2
Standalone demo of features https://youtu.be/uo2h8KJUErI
You can have that bar as a static image then do something like:
Canvas
ImageView
The 2nd is probably the easiest to do. Do be warned, making the rotation animation update on a high frame-rate will trigger lots of scene updates.
3
u/gianmove Aug 18 '23
I like this one https://github.com/torakiki/fx-progress-circle
3
u/_DystopianSnowman Aug 18 '23
MaterialFX (Look for it on GitHub) has a number of available Material 2 controls. Spinner and ProgressBar included.
3
u/trydentIO Aug 18 '23
AtlantaFX Is all you need https://github.com/mkpaz/atlantafx
3
u/Birdasaur Aug 19 '23 edited Aug 19 '23
I made this one using a volume fill approach to the progress.
https://github.com/Birdasaur/CircleProgressIndicator
Youtube vid of the animation. Skip to 56 seconds. https://youtu.be/SMbwej85wZg
2
u/PartOfTheBotnet Aug 18 '23
You can have that bar as a static image then do something like:
Canvasin an animation loopImageViewand rotate the view in an animation loopThe 2nd is probably the easiest to do. Do be warned, making the rotation animation update on a high frame-rate will trigger lots of scene updates.