public class ProgressBar
  Comment     Returned-by     Constructor-argument     Method-argument     Field-type     Type-bound     Links  

A specialization of the ProgressIndicator which is represented as a horizontal bar.

ProgressBar sets focusTraversable to false.

This first example creates a ProgressBar with an indeterminate value :


 import javafx.scene.control.ProgressBar;

 ProgressBar p1 = new ProgressBar();
 

This next example creates a ProgressBar which is 25% complete :


 import javafx.scene.control.ProgressBar;
 ProgressBar p2 = new ProgressBar();
 p2.setProgress(0.25F);
 
Implementation of ProgressBar According to JavaFX UI Control API Specification

extends ProgressIndicator

Since:  JavaFX 2.0