ProgressBar

public ProgressBar(int canvasWidth,
int canvasHeight)

This constructor is called once by ImageJ at startup.

Method Detail

show

public void show(int currentValue,
int finalValue)

Updates the progress bar, where the length of the bar is set to
(currentValue+1)/finalValue of the maximum bar length.
The bar is erased if currentValue>=finalValue.
Does nothing if the ImageJ window is not present.

show

public void show(double percent)

Updates the progress bar. It is not displayed if
the time between the first and second calls to 'show'
is less than 30 milliseconds. It is erased when show
is passed a percent value >= 1.0.