diff options
author | Keith Packard <keithp@keithp.com> | 2014-06-14 20:08:40 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-06-14 20:08:40 -0700 |
commit | 823ef386f9dc5c5df197936f4254921f2e0282b0 (patch) | |
tree | 642b6f757c97cbbe8f807e35bb1182e8816a9835 /micropeak | |
parent | 5392ee3c5328f8384ed30a2d147e4be96075e064 (diff) |
altoslib: AltosFlightStatsTable: another editable text field that shouldn't be
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'micropeak')
-rw-r--r-- | micropeak/MicroStatsTable.java | 2 |
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; |