projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altoslib: Set measured acceleration for measured acceleration
[fw/altos]
/
altosui
/
AltosUIPreferencesBackend.java
diff --git
a/altosui/AltosUIPreferencesBackend.java
b/altosui/AltosUIPreferencesBackend.java
index 1c53df84be5480d6d8b108979aff6062149cd11d..0dac9fc74f3dc3dad4c222824eeb10b0fd1be77f 100644
(file)
--- a/
altosui/AltosUIPreferencesBackend.java
+++ b/
altosui/AltosUIPreferencesBackend.java
@@
-17,9
+17,10
@@
package altosui;
package altosui;
-import java.
text.*
;
+import java.
io.File
;
import java.util.prefs.*;
import java.util.prefs.*;
-import org.altusmetrum.AltosLib.*;
+import org.altusmetrum.altoslib_1.*;
+import javax.swing.filechooser.FileSystemView;
public class AltosUIPreferencesBackend implements AltosPreferencesBackend {
public class AltosUIPreferencesBackend implements AltosPreferencesBackend {
@@
-93,4
+94,8
@@
public class AltosUIPreferencesBackend implements AltosPreferencesBackend {
}
}
}
}
+ public File homeDirectory() {
+ /* Use the file system view default directory */
+ return FileSystemView.getFileSystemView().getDefaultDirectory();
+ }
}
}