summaryrefslogtreecommitdiff
path: root/altosui/AltosFrame.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-01-02 15:45:14 -0800
committerKeith Packard <keithp@keithp.com>2012-01-02 15:45:14 -0800
commit9ca6eac2d6e7cff94ec521d6397d9d3aabb1bcb9 (patch)
tree9bb463a19e1636f04a88d251851eca6928a0ea96 /altosui/AltosFrame.java
parent085625ff3992454b59583d95a3c415597c51f754 (diff)
altosui: Split out UI-specific preferences
Prepare to create library shared with android application. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosFrame.java')
-rw-r--r--altosui/AltosFrame.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/altosui/AltosFrame.java b/altosui/AltosFrame.java
index f8cc4f52..36ddcae9 100644
--- a/altosui/AltosFrame.java
+++ b/altosui/AltosFrame.java
@@ -32,7 +32,7 @@ import libaltosJNI.*;
class AltosFrameListener extends WindowAdapter {
public void windowClosing (WindowEvent e) {
- AltosPreferences.unregister_ui_listener((AltosFrame) e.getWindow());
+ AltosUIPreferences.unregister_ui_listener((AltosFrame) e.getWindow());
}
}
@@ -44,13 +44,13 @@ public class AltosFrame extends JFrame implements AltosUIListener {
}
public AltosFrame() {
- AltosPreferences.register_ui_listener(this);
+ AltosUIPreferences.register_ui_listener(this);
addWindowListener(new AltosFrameListener());
}
public AltosFrame(String name) {
super(name);
- AltosPreferences.register_ui_listener(this);
+ AltosUIPreferences.register_ui_listener(this);
addWindowListener(new AltosFrameListener());
}
}