Org.eclipse.swt.widgets.ProgressBar
lastmod 2026-11-10created 2014-06-092 edits
ProgressBar is the SWT widget that shows the progress of a task as a bar. The range and current value are set with setMinimum, setMaximum, and setSelection; when the progress cannot be known, the SWT.INDETERMINATE style displays a repeating animation. Long-running tasks should be processed in a separate thread, and UI updates must be handed to the UI thread with Display.asyncExec so that the screen does not freeze.