Javatpoint Logo
Javatpoint Logo

JavaFX Progress Indicator

Progress Indicator is similar to Progress Bar to some extent. Instead of showing the analogue progress to the user, it shows the digital progress so that the user may know the amount of work done in percentage.

It is represented by javafx.scene.control.ProgressIndicator class. This class needs to be instantiated in order to create Progress Indicator. The following code implements Progress Indicator into our application.

Output:


JavaFX Progress Indicator

Using setProgress() Method

Add the following lines to the code shown above in order to set the 75 % progress value.

Output:


JavaFX Progress Indicator
Next TopicJavaFX Scrollbar




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


B.Tech / MCA