summaryrefslogtreecommitdiff
path: root/altosui/AltosDialog.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-01-02 15:45:14 -0800
committerKeith Packard <keithp@keithp.com>2012-06-02 19:09:09 -0700
commit97663f922e236f4ee7bd08277ca80d419b5cd10f (patch)
tree338e6fd4125c6312dccb7d203877551db6d63090 /altosui/AltosDialog.java
parentc9e52287751867d9e451146ccde78109609d30d7 (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/AltosDialog.java')
-rw-r--r--altosui/AltosDialog.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/altosui/AltosDialog.java b/altosui/AltosDialog.java
index c30b5757..1e8e538c 100644
--- a/altosui/AltosDialog.java
+++ b/altosui/AltosDialog.java
@@ -32,7 +32,7 @@ import libaltosJNI.*;
class AltosDialogListener extends WindowAdapter {
public void windowClosing (WindowEvent e) {
- AltosPreferences.unregister_ui_listener((AltosDialog) e.getWindow());
+ AltosUIPreferences.unregister_ui_listener((AltosDialog) e.getWindow());
}
}
@@ -44,19 +44,19 @@ public class AltosDialog extends JDialog implements AltosUIListener {
}
public AltosDialog() {
- AltosPreferences.register_ui_listener(this);
+ AltosUIPreferences.register_ui_listener(this);
addWindowListener(new AltosDialogListener());
}
public AltosDialog(Frame frame, String label, boolean modal) {
super(frame, label, modal);
- AltosPreferences.register_ui_listener(this);
+ AltosUIPreferences.register_ui_listener(this);
addWindowListener(new AltosDialogListener());
}
public AltosDialog(Frame frame, boolean modal) {
super(frame, modal);
- AltosPreferences.register_ui_listener(this);
+ AltosUIPreferences.register_ui_listener(this);
addWindowListener(new AltosDialogListener());
}
}