summaryrefslogtreecommitdiff
path: root/altosui/AltosUI.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/AltosUI.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/AltosUI.java')
-rw-r--r--altosui/AltosUI.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/altosui/AltosUI.java b/altosui/AltosUI.java
index 7d4b2edb..a2816a3a 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();
@@ -262,9 +262,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() {
@@ -538,7 +538,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 */