X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=altosui%2FAltosCSVUI.java;h=2702668bfb9fdf768c9b2ced2702530c20aebc88;hb=621d0930244f25165d2ac5da596dcc87e253b965;hp=e1b6002dfa23235d08a1fb5ae4a92a537be5e15e;hpb=f01096c4b42f9a4720ed0414826c2a283a992545;p=fw%2Faltos diff --git a/altosui/AltosCSVUI.java b/altosui/AltosCSVUI.java index e1b6002d..2702668b 100644 --- a/altosui/AltosCSVUI.java +++ b/altosui/AltosCSVUI.java @@ -27,9 +27,10 @@ import java.util.*; import java.text.*; import java.util.prefs.*; import java.util.concurrent.LinkedBlockingQueue; +import org.altusmetrum.AltosLib.*; public class AltosCSVUI - extends JDialog + extends AltosDialog implements ActionListener { JFileChooser csv_chooser; @@ -99,7 +100,7 @@ public class AltosCSVUI writer.close(); } catch (FileNotFoundException ee) { JOptionPane.showMessageDialog(frame, - file.getName(), + ee.getMessage(), "Cannot open file", JOptionPane.ERROR_MESSAGE); }