X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=micropeak%2FMicroStatsTable.java;h=d6265fe8c70a7873361e8d8fcf29bfc7de9eece6;hp=4400a317f193d78f1e6a17e439e7f1d0c427cdf9;hb=4828be0ca5252ac9cd6061209385dcd6c4c57965;hpb=5b976a6651f4eb05d30afc08b9e1f27c7e52ae00 diff --git a/micropeak/MicroStatsTable.java b/micropeak/MicroStatsTable.java index 4400a317..d6265fe8 100644 --- a/micropeak/MicroStatsTable.java +++ b/micropeak/MicroStatsTable.java @@ -19,8 +19,8 @@ package org.altusmetrum.micropeak; import java.awt.*; import javax.swing.*; -import org.altusmetrum.altoslib_2.*; -import org.altusmetrum.altosuilib_1.*; +import org.altusmetrum.altoslib_5.*; +import org.altusmetrum.altosuilib_3.*; public class MicroStatsTable extends JComponent implements AltosFontListener { GridBagLayout layout; @@ -59,6 +59,7 @@ 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); texts[j] = value; @@ -160,4 +161,4 @@ public class MicroStatsTable extends JComponent implements AltosFontListener { this(new MicroStats()); } -} \ No newline at end of file +}