From: Keith Packard Date: Fri, 31 Jan 2014 02:38:01 +0000 (-0800) Subject: altosui: Use letter names for pyro channels in pyro config UI X-Git-Tag: 1.3.2~27 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=eb9262901aff4f69fa3d2357693634cbee9bca46 altosui: Use letter names for pyro channels in pyro config UI TeleMega has the extra pyro channels labeled A, B, C, D instead of 0, 1, 2, 3. Use those names in the UI to avoid confusion. Signed-off-by: Keith Packard --- diff --git a/altosui/AltosConfigPyroUI.java b/altosui/AltosConfigPyroUI.java index 47b2b662..b14c39ab 100644 --- a/altosui/AltosConfigPyroUI.java +++ b/altosui/AltosConfigPyroUI.java @@ -232,7 +232,7 @@ public class AltosConfigPyroUI c.fill = GridBagConstraints.NONE; c.anchor = GridBagConstraints.CENTER; c.insets = il; - label = new JLabel(String.format("Pyro Channel %d", channel)); + label = new JLabel(String.format("Pyro Channel %c", 'A' + channel)); pane.add(label, c); y++;