X-Git-Url: https://gitweb.fperrin.net/?p=GpsPrune.git;a=blobdiff_plain;f=tim%2Fprune%2Ffunction%2Fgpsies%2FGenericDownloaderFunction.java;h=286ba1aae7bc677cd835e3855ea213d44e206b6d;hp=cf634c0fbc6b48b932382d21b3695b9e30ddc575;hb=7f5ed2be62905bd37717376dc22d09e5ea7edb4d;hpb=b361869e590bbca32664c16ac24d6296926594a5 diff --git a/tim/prune/function/gpsies/GenericDownloaderFunction.java b/tim/prune/function/gpsies/GenericDownloaderFunction.java index cf634c0..286ba1a 100644 --- a/tim/prune/function/gpsies/GenericDownloaderFunction.java +++ b/tim/prune/function/gpsies/GenericDownloaderFunction.java @@ -40,6 +40,8 @@ public abstract class GenericDownloaderFunction extends GenericFunction implemen protected JTable _trackTable = null; /** Cancelled flag */ protected boolean _cancelled = false; + /** error message */ + protected String _errorMessage = null; /** Status label */ protected JLabel _statusLabel = null; /** Description box */ @@ -84,6 +86,7 @@ public abstract class GenericDownloaderFunction extends GenericFunction implemen _showButton.setEnabled(false); _cancelled = false; _descriptionBox.setText(""); + _errorMessage = null; // Start new thread to load list asynchronously new Thread(this).start();