diff options
author | Keith Packard <keithp@keithp.com> | 2014-05-29 14:36:14 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-05-29 14:36:14 -0700 |
commit | bf684a4c290573a3aa627fd8ddf6f6ebbe5fa057 (patch) | |
tree | a02bccd0d39daaa2cd5ac9bc87ebd4bc6393c552 /altosui/AltosIgnitor.java | |
parent | f80075be4ebb9c5fe00c24b8c7638fad23267424 (diff) |
telegps: Add graph display
Moved the altosui graph files to altosuilib and fixed things up.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosIgnitor.java')
-rw-r--r-- | altosui/AltosIgnitor.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/altosui/AltosIgnitor.java b/altosui/AltosIgnitor.java index 27917b30..7f62938d 100644 --- a/altosui/AltosIgnitor.java +++ b/altosui/AltosIgnitor.java @@ -114,10 +114,6 @@ public class AltosIgnitor extends JComponent implements AltosFlightDisplay { } } - public static String ignitor_name(int i) { - return String.format("Ignitor %c", 'A' + i); - } - class Ignitor extends LaunchStatus { int ignitor; @@ -131,7 +127,7 @@ public class AltosIgnitor extends JComponent implements AltosFlightDisplay { } public Ignitor (GridBagLayout layout, int y) { - super(layout, y, String.format ("%s Voltage", ignitor_name(y))); + super(layout, y, String.format ("%s Voltage", AltosLib.ignitor_name(y))); ignitor = y; } } |