Skip to main content


Java API

Text and String Painting

By default when created, the progress bar will display the percentage complete in the format "XX%". Using the setText() method, you can use the placeholder {{x}} to get the current value as a percentage. Additionally, you can use the placeholder {{value}} to get the raw current value.

Show Code


The webforJ progress bar allows the developer to chose the direction in which the bar will fill as progress is made. The options are either filling vertically from bottom to top, or horizontally from left to right. Setting the orientation does not automatically set the dimensions for the bar, this must be done by the developer.

Show Code


The progress bar in webforJ allows for indeterminate display, displaying an animation that conveys continuous progress that is not quantified.

Show Code

Upper and Lower Limit

The progress bar can has minimum and maximum values that can be set, which will alter how the progress

Show Code


The webforJ progress bar comes with 6 themes built in for quick styling without the use of CSS. Shown below are progress bars with each of the supported Themes applied:

Show Code

Progress Bar Themes
  • ProgressBar.Theme.DEFAULT
  • ProgressBar.Theme.DANGER
  • ProgressBar.Theme.GRAY
  • ProgressBar.Theme.INFO
  • ProgressBar.Theme.SUCCESS
  • ProgressBar.Theme.WARNING

Parts and CSS Properties