projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altosui: Remove unused files
[fw/altos]
/
altosui
/
AltosFlashUI.java
diff --git
a/altosui/AltosFlashUI.java
b/altosui/AltosFlashUI.java
index 704ce35c9fca4227a830c60dd3a51525e0409ec8..4ab73a6dbeb1d23a082c74e9e2ef7ffe1ff67a37 100644
(file)
--- a/
altosui/AltosFlashUI.java
+++ b/
altosui/AltosFlashUI.java
@@
-27,6
+27,7
@@
import java.util.*;
import java.text.*;
import java.util.prefs.*;
import java.util.concurrent.*;
import java.text.*;
import java.util.prefs.*;
import java.util.concurrent.*;
+import org.altusmetrum.AltosLib.*;
public class AltosFlashUI
extends AltosDialog
public class AltosFlashUI
extends AltosDialog
@@
-161,7
+162,7
@@
public class AltosFlashUI
boolean select_source_file() {
JFileChooser hexfile_chooser = new JFileChooser();
boolean select_source_file() {
JFileChooser hexfile_chooser = new JFileChooser();
- File firmwaredir = AltosPreferences.firmwaredir();
+ File firmwaredir = Altos
UI
Preferences.firmwaredir();
if (firmwaredir != null)
hexfile_chooser.setCurrentDirectory(firmwaredir);
if (firmwaredir != null)
hexfile_chooser.setCurrentDirectory(firmwaredir);
@@
-174,7
+175,7
@@
public class AltosFlashUI
file = hexfile_chooser.getSelectedFile();
if (file == null)
return false;
file = hexfile_chooser.getSelectedFile();
if (file == null)
return false;
- AltosPreferences.set_firmwaredir(file.getParentFile());
+ Altos
UI
Preferences.set_firmwaredir(file.getParentFile());
return true;
}
return true;
}