]> gitweb.fperrin.net Git - GpsPrune.git/blobdiff - tim/prune/GpsPrune.java
Version 15.2, November 2013
[GpsPrune.git] / tim / prune / GpsPrune.java
index e1dc55e0574b29549d5d5596d1a8c9c6c620c753..5cc5c9043099ef3fe960ee425b5a5a7b281ba7f2 100644 (file)
@@ -28,16 +28,16 @@ import tim.prune.gui.profile.ProfileChart;
 /**
  * GpsPrune is a tool to visualize, edit, convert and prune GPS data
  * Please see the included readme.txt or http://activityworkshop.net
- * This software is copyright activityworkshop.net 2006-2012 and made available through the Gnu GPL version 2.
+ * This software is copyright activityworkshop.net 2006-2013 and made available through the Gnu GPL version 2.
  * For license details please see the included license.txt.
  * GpsPrune is the main entry point to the application, including initialisation and launch
  */
 public class GpsPrune
 {
        /** Version number of application, used in about screen and for version check */
-       public static final String VERSION_NUMBER = "14";
+       public static final String VERSION_NUMBER = "15.2";
        /** Build number, just used for about screen */
-       public static final String BUILD_NUMBER = "265a";
+       public static final String BUILD_NUMBER = "283b";
        /** Static reference to App object */
        private static App APP = null;
 
@@ -98,8 +98,9 @@ public class GpsPrune
                                }
                        }
                }
-               if (showUsage) {
-                       System.out.println("Possible parameters:"
+               if (showUsage)
+               {
+                       System.out.println("GpsPrune - a tool for editing GPS data.\nPossible parameters:"
                                + "\n   --configfile=<file> used to specify a configuration file"
                                + "\n   --lang=<code>       used to specify language code such as DE"
                                + "\n   --langfile=<file>   used to specify an alternative language file\n");
@@ -233,6 +234,9 @@ public class GpsPrune
                }
                catch (Exception e) {} // ignore
 
+               // Set up drag-and-drop handler to accept dropped files
+               frame.setTransferHandler(new FileDropHandler(APP));
+
                // finish off and display frame
                frame.pack();
                frame.setSize(650, 450);