projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Break out GPS speed resetting sequence
[fw/altos]
/
altosui
/
AltosCSVUI.java
diff --git
a/altosui/AltosCSVUI.java
b/altosui/AltosCSVUI.java
index e1b6002dfa23235d08a1fb5ae4a92a537be5e15e..1d024086514e8161d91a46d2170a789940ac37c6 100644
(file)
--- a/
altosui/AltosCSVUI.java
+++ b/
altosui/AltosCSVUI.java
@@
-20,16
+20,11
@@
package altosui;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
-import javax.swing.filechooser.FileNameExtensionFilter;
-import javax.swing.table.*;
import java.io.*;
import java.io.*;
-import java.util.*;
-import java.text.*;
-import java.util.prefs.*;
-import java.util.concurrent.LinkedBlockingQueue;
+import org.altusmetrum.AltosLib.*;
public class AltosCSVUI
public class AltosCSVUI
- extends
J
Dialog
+ extends
Altos
Dialog
implements ActionListener
{
JFileChooser csv_chooser;
implements ActionListener
{
JFileChooser csv_chooser;
@@
-99,7
+94,7
@@
public class AltosCSVUI
writer.close();
} catch (FileNotFoundException ee) {
JOptionPane.showMessageDialog(frame,
writer.close();
} catch (FileNotFoundException ee) {
JOptionPane.showMessageDialog(frame,
-
file.getNam
e(),
+
ee.getMessag
e(),
"Cannot open file",
JOptionPane.ERROR_MESSAGE);
}
"Cannot open file",
JOptionPane.ERROR_MESSAGE);
}