summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-06-14 15:44:20 -0700
committerKeith Packard <keithp@keithp.com>2014-06-14 15:44:20 -0700
commit92943bf4536d4167edd097e61de5e6b4f29130f8 (patch)
tree9ee0987c94512fe96a050dd1ac375d327b29de89
parent1fc3032d688cbb7c09c1dffde30cc815f3594e29 (diff)
micropeak: Make statistics entries un-editable
Otherwise you can actually type in the various fields.x Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--micropeak/MicroStatsTable.java3
-rw-r--r--telegps/Makefile.am4
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)