From 92943bf4536d4167edd097e61de5e6b4f29130f8 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sat, 14 Jun 2014 15:44:20 -0700 Subject: [PATCH] micropeak: Make statistics entries un-editable Otherwise you can actually type in the various fields.x Signed-off-by: Keith Packard --- micropeak/MicroStatsTable.java | 3 ++- telegps/Makefile.am | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/micropeak/MicroStatsTable.java b/micropeak/MicroStatsTable.java index 268a7ff0..798d6535 100644 --- a/micropeak/MicroStatsTable.java +++ b/micropeak/MicroStatsTable.java @@ -61,6 +61,7 @@ public class MicroStatsTable extends JComponent implements AltosFontListener { JTextField value = new JTextField(values[j]); value.setFont(AltosUILib.value_font); value.setHorizontalAlignment(SwingConstants.RIGHT); + value.setEditable(false); texts[j] = value; c.gridx = j+1; c.gridy = y; c.anchor = GridBagConstraints.EAST; @@ -160,4 +161,4 @@ public class MicroStatsTable extends JComponent implements AltosFontListener { this(new MicroStats()); } -} \ No newline at end of file +} diff --git a/telegps/Makefile.am b/telegps/Makefile.am index 31bcbd79..b64397c8 100644 --- a/telegps/Makefile.am +++ b/telegps/Makefile.am @@ -82,8 +82,8 @@ FIRMWARE_TD=$(FIRMWARE_TD_0_2) FIRMWARE_TBT_1_0=$(top_srcdir)/src/telebt-v1.0/telebt-v1.0-$(VERSION).ihx FIRMWARE_TBT=$(FIRMWARE_TBT_1_0) -#FIRMWARE_TG_1_0=$(top_srcdir)/src/telegps-v1.0/telegps-v1.0-$(VERSION).ihx -#FIRMWARE_TG=$(FIRMWARE_TG_1_0) +FIRMWARE_TG_1_0=$(top_srcdir)/src/telegps-v1.0/telegps-v1.0-$(VERSION).ihx +FIRMWARE_TG=$(FIRMWARE_TG_1_0) FIRMWARE=$(FIRMWARE_TG) $(FIRMWARE_TD) $(FIRMWARE_TBT) -- 2.30.2