summaryrefslogtreecommitdiff
path: root/micropeak/MicroStatsTable.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-06-14 20:08:40 -0700
committerKeith Packard <keithp@keithp.com>2014-06-14 20:08:40 -0700
commit823ef386f9dc5c5df197936f4254921f2e0282b0 (patch)
tree642b6f757c97cbbe8f807e35bb1182e8816a9835 /micropeak/MicroStatsTable.java
parent5392ee3c5328f8384ed30a2d147e4be96075e064 (diff)
altoslib: AltosFlightStatsTable: another editable text field that shouldn't be
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'micropeak/MicroStatsTable.java')
-rw-r--r--micropeak/MicroStatsTable.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/micropeak/MicroStatsTable.java b/micropeak/MicroStatsTable.java
index 798d6535..3b17e731 100644
--- a/micropeak/MicroStatsTable.java
+++ b/micropeak/MicroStatsTable.java
@@ -59,9 +59,9 @@ public class MicroStatsTable extends JComponent implements AltosFontListener {
texts = new JTextField[values.length];
for (int j = 0; j < values.length; j++) {
JTextField value = new JTextField(values[j]);
+ value.setEditable(false);
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;