]> gitweb.fperrin.net Git - GpsPrune.git/blob - src/tim/prune/load/MediaLoadProgressDialog.java
9372704ade85ae469ee367695464f6c611cafe7c
[GpsPrune.git] / src / tim / prune / load / MediaLoadProgressDialog.java
1 package tim.prune.load;
2
3 import javax.swing.JFrame;
4
5 import tim.prune.function.Cancellable;
6 import tim.prune.gui.GenericProgressDialog;
7
8 /**
9  * Class to show a progress dialog for loading media.
10  * Used for regular photo / audio loads plus the async loading function.
11  * Maybe this class isn't really needed...
12  */
13 public class MediaLoadProgressDialog extends GenericProgressDialog
14 {
15         /**
16          * Constructor
17          * @param inParentFrame parent frame for creating dialog
18          * @param inFunction function which can be cancelled
19          */
20         public MediaLoadProgressDialog(JFrame inParentFrame, Cancellable inFunction)
21         {
22                 super("dialog.jpegload.progress.title", "dialog.jpegload.progress", inParentFrame, inFunction);
23         }
24 }