altosui: Output recorded clock tick in CSV files
[fw/altos] / altosui / AltosCSVUI.java
index e1b6002dfa23235d08a1fb5ae4a92a537be5e15e..6d3e9065e15a6435fa27057ad1b5986430e67823 100644 (file)
@@ -29,7 +29,7 @@ import java.util.prefs.*;
 import java.util.concurrent.LinkedBlockingQueue;
 
 public class AltosCSVUI
-       extends JDialog
+       extends AltosDialog
        implements ActionListener
 {
        JFileChooser            csv_chooser;
@@ -99,7 +99,7 @@ public class AltosCSVUI
                                writer.close();
                        } catch (FileNotFoundException ee) {
                                JOptionPane.showMessageDialog(frame,
-                                                             file.getName(),
+                                                             ee.getMessage(),
                                                              "Cannot open file",
                                                              JOptionPane.ERROR_MESSAGE);
                        }