Is there a way to change the color of a ProgressBar's bars in SWT? .setForeground()
doesn't seem to work.
If there is not a way to change the color programmatically, is there a way to change ProgressBar's color using the WindowBuilder GUI tools?
Thanks!
You can't change the color of the progress bar on Windows using SWT.
You can now, using JProgressBar.setForeground( Color )
In SWT there are 3 built-in states, each represented by a color:
This state does not support an indeterminate progress bar style (SWT.INDETERMINATE).
This state will pause the indeterminate progress bar animation.