X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=altosui%2FAltosDataChooser.java;h=a9344a01c832ed0c96b52918a4feb056cb4e1d0d;hb=95f5a6ef52947088993d395874cf6aa502fd2503;hp=af6c245b8a17b79a90f84463d313f9c526cd9a0d;hpb=7ec1b97d278c7aec3199fb7270f0dcf9484c879f;p=fw%2Faltos diff --git a/altosui/AltosDataChooser.java b/altosui/AltosDataChooser.java index af6c245b..a9344a01 100644 --- a/altosui/AltosDataChooser.java +++ b/altosui/AltosDataChooser.java @@ -20,7 +20,7 @@ package altosui; import javax.swing.*; import javax.swing.filechooser.FileNameExtensionFilter; import java.io.*; -import org.altusmetrum.altoslib_1.*; +import org.altusmetrum.altoslib_3.*; import org.altusmetrum.altosuilib_1.*; public class AltosDataChooser extends JFileChooser { @@ -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(); }