]> gitweb.fperrin.net Git - GpsPrune.git/blobdiff - tim/prune/function/FindWaypoint.java
Version 16, February 2014
[GpsPrune.git] / tim / prune / function / FindWaypoint.java
index 8b6beeabf2bedf84258e82aaf912278b3bb22322..ac0bd37290005c4d281f49b1525c218599072d75 100644 (file)
@@ -34,7 +34,7 @@ public class FindWaypoint extends GenericFunction
        private WaypointNameMatcher _nameMatcher = null;
        private JDialog _dialog = null;
        private JTextField _searchField = null;
-       private JList _pointList = null;
+       private JList<String> _pointList = null;
        private JButton _okButton = null;
 
 
@@ -108,7 +108,7 @@ public class FindWaypoint extends GenericFunction
 
                // middle panel with list
                _nameMatcher = new WaypointNameMatcher();
-               _pointList = new JList(_nameMatcher);
+               _pointList = new JList<String>(_nameMatcher);
                _pointList.addListSelectionListener(new ListSelectionListener() {
                        public void valueChanged(ListSelectionEvent e)
                        {