public class Progress_Utility extends Object
This class is based on GPL code written by Santhosh Kumar T. The original code can be found at http://jroller.com/santhosh/entry/show_progress_in_modal_dialog.
|Constructor and Description|
|Modifier and Type||Method and Description|
Creates a modal progress dialog and returns the Progress_Monitor that is the data model for the monitor dialog.
public static Progress_Monitor createModalProgressMonitor(Component owner, int total, boolean indeterminate, int milliSecondsToWait, String name)
owner- The component the progress dialog should block
total- the total amount of progress to be made - used to set the maximum scale of the progress bar
indeterminate- set to true if the amount of progress is indeterminate
milliSecondsToWait- number of millseconds to wait before displaying the progress monitor
name- a string to identify the Progress_Monitor
Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona