diff options
| author | Keith Packard <keithp@keithp.com> | 2014-06-14 15:44:20 -0700 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2014-06-14 15:44:20 -0700 | 
| commit | 92943bf4536d4167edd097e61de5e6b4f29130f8 (patch) | |
| tree | 9ee0987c94512fe96a050dd1ac375d327b29de89 /micropeak/MicroStatsTable.java | |
| parent | 1fc3032d688cbb7c09c1dffde30cc815f3594e29 (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>
Diffstat (limited to 'micropeak/MicroStatsTable.java')
| -rw-r--r-- | micropeak/MicroStatsTable.java | 3 | 
1 files changed, 2 insertions, 1 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 +}  | 
