telegps: Hook up data download dialog
[fw/altos] / altosui / AltosDataChooser.java
index af6c245b8a17b79a90f84463d313f9c526cd9a0d..43726a44de71e254b1a0020f6263a753cc26752c 100644 (file)
@@ -20,8 +20,8 @@ package altosui;
 import javax.swing.*;
 import javax.swing.filechooser.FileNameExtensionFilter;
 import java.io.*;
-import org.altusmetrum.altoslib_1.*;
-import org.altusmetrum.altosuilib_1.*;
+import org.altusmetrum.altoslib_4.*;
+import org.altusmetrum.altosuilib_2.*;
 
 public class AltosDataChooser extends JFileChooser {
        JFrame  frame;
@@ -51,7 +51,7 @@ public class AltosDataChooser extends JFileChooser {
                                        return new AltosEepromFile(in);
                                } else if (filename.endsWith("telem")) {
                                        FileInputStream in = new FileInputStream(file);
-                                       return null; // new AltosTelemetryIterable(in);
+                                       return new AltosTelemetryFile(in);
                                } else {
                                        throw new FileNotFoundException();
                                }