diff options
author | Keith Packard <keithp@keithp.com> | 2012-01-02 15:45:14 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-01-02 15:45:14 -0800 |
commit | 9ca6eac2d6e7cff94ec521d6397d9d3aabb1bcb9 (patch) | |
tree | 9bb463a19e1636f04a88d251851eca6928a0ea96 /altosui/AltosUI.java | |
parent | 085625ff3992454b59583d95a3c415597c51f754 (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/AltosUI.java')
-rw-r--r-- | altosui/AltosUI.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/altosui/AltosUI.java b/altosui/AltosUI.java index 8799d560..6a0a84fa 100644 --- a/altosui/AltosUI.java +++ b/altosui/AltosUI.java @@ -108,7 +108,7 @@ public class AltosUI extends AltosFrame { if (imgURL != null) setIconImage(new ImageIcon(imgURL).getImage()); - AltosPreferences.set_component(this); + AltosUIPreferences.set_component(this); pane = getContentPane(); gridbag = new GridBagLayout(); @@ -253,9 +253,9 @@ public class AltosUI extends AltosFrame { String result; result = JOptionPane.showInputDialog(AltosUI.this, "Configure Callsign", - AltosPreferences.callsign()); + AltosUIPreferences.callsign()); if (result != null) - AltosPreferences.set_callsign(result); + AltosUIPreferences.set_callsign(result); } void ConfigureTeleMetrum() { @@ -519,7 +519,7 @@ public class AltosUI extends AltosFrame { public static void main(final String[] args) { try { - UIManager.setLookAndFeel(AltosPreferences.look_and_feel()); + UIManager.setLookAndFeel(AltosUIPreferences.look_and_feel()); } catch (Exception e) { } /* Handle batch-mode */ |