diff options
author | Keith Packard <keithp@keithp.com> | 2012-01-02 15:45:14 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-06-02 19:09:09 -0700 |
commit | 97663f922e236f4ee7bd08277ca80d419b5cd10f (patch) | |
tree | 338e6fd4125c6312dccb7d203877551db6d63090 /altosui/AltosFrame.java | |
parent | c9e52287751867d9e451146ccde78109609d30d7 (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.java | 6 |
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()); } } |