use value_font for values
authorAnthony Towns <aj@erisian.com.au>
Thu, 11 Nov 2010 05:38:27 +0000 (15:38 +1000)
committerAnthony Towns <aj@erisian.com.au>
Thu, 11 Nov 2010 05:38:27 +0000 (15:38 +1000)
ao-tools/altosui/AltosAscent.java
ao-tools/altosui/AltosDescent.java
ao-tools/altosui/AltosLanded.java
ao-tools/altosui/AltosPad.java

index 40df7af..51fa1a8 100644 (file)
@@ -53,8 +53,8 @@ public class AltosAscent extends JComponent implements AltosFlightDisplay {
                        layout.setConstraints(label, c);
                        add(label);
 
-                       value = new JTextField(20);
-                       value.setFont(label_font);
+                       value = new JTextField(30);
+                       value.setFont(value_font);
                        value.setHorizontalAlignment(SwingConstants.RIGHT);
                        c.gridx = 1; c.gridy = y;
                        c.anchor = GridBagConstraints.WEST;
@@ -98,16 +98,16 @@ public class AltosAscent extends JComponent implements AltosFlightDisplay {
                        layout.setConstraints(label, c);
                        add(label);
 
-                       value = new JTextField(10);
-                       value.setFont(label_font);
+                       value = new JTextField(15);
+                       value.setFont(value_font);
                        value.setHorizontalAlignment(SwingConstants.RIGHT);
                        c.gridx = 1; c.gridy = y;
                        c.anchor = GridBagConstraints.EAST;
                        layout.setConstraints(value, c);
                        add(value);
 
-                       max_value = new JTextField(10);
-                       max_value.setFont(label_font);
+                       max_value = new JTextField(15);
+                       max_value.setFont(value_font);
                        max_value.setHorizontalAlignment(SwingConstants.RIGHT);
                        c.gridx = 2; c.gridy = y;
                        c.anchor = GridBagConstraints.EAST;
@@ -231,7 +231,7 @@ public class AltosAscent extends JComponent implements AltosFlightDisplay {
                layout = new GridBagLayout();
 
                label_font = new Font("Dialog", Font.PLAIN, 24);
-               value_font = new Font("Monospace", Font.PLAIN, 24);
+               value_font = new Font("Monospaced", Font.PLAIN, 24);
                setLayout(layout);
 
                /* Elements in ascent display:
index 0d3d17f..0b7c803 100644 (file)
@@ -58,8 +58,8 @@ public class AltosDescent extends JComponent implements AltosFlightDisplay {
                        layout.setConstraints(label, c);
                        add(label);
 
-                       value = new JTextField(20);
-                       value.setFont(label_font);
+                       value = new JTextField(30);
+                       value.setFont(value_font);
                        value.setHorizontalAlignment(SwingConstants.RIGHT);
                        c.gridx = 1; c.gridy = y;
                        c.anchor = GridBagConstraints.WEST;
@@ -196,7 +196,7 @@ public class AltosDescent extends JComponent implements AltosFlightDisplay {
                layout = new GridBagLayout();
 
                label_font = new Font("Dialog", Font.PLAIN, 24);
-               value_font = new Font("Monospace", Font.PLAIN, 24);
+               value_font = new Font("Monospaced", Font.PLAIN, 24);
                setLayout(layout);
 
                /* Elements in descent display */
index 4b74aaa..d170cca 100644 (file)
@@ -58,8 +58,8 @@ public class AltosLanded extends JComponent implements AltosFlightDisplay {
                        layout.setConstraints(label, c);
                        add(label);
 
-                       value = new JTextField(20);
-                       value.setFont(label_font);
+                       value = new JTextField(30);
+                       value.setFont(value_font);
                        value.setHorizontalAlignment(SwingConstants.RIGHT);
                        c.gridx = 1; c.gridy = y;
                        c.anchor = GridBagConstraints.WEST;
@@ -193,7 +193,7 @@ public class AltosLanded extends JComponent implements AltosFlightDisplay {
                layout = new GridBagLayout();
 
                label_font = new Font("Dialog", Font.PLAIN, 24);
-               value_font = new Font("Monospace", Font.PLAIN, 24);
+               value_font = new Font("Monospaced", Font.PLAIN, 24);
                setLayout(layout);
 
                /* Elements in descent display */
index 7b72be2..da04707 100644 (file)
@@ -64,8 +64,8 @@ public class AltosPad extends JComponent implements AltosFlightDisplay {
                        layout.setConstraints(label, c);
                        add(label);
 
-                       value = new JTextField(10);
-                       value.setFont(label_font);
+                       value = new JTextField(15);
+                       value.setFont(value_font);
                        value.setHorizontalAlignment(SwingConstants.RIGHT);
                        c.gridx = 2; c.gridy = y;
                        c.anchor = GridBagConstraints.WEST;
@@ -95,8 +95,8 @@ public class AltosPad extends JComponent implements AltosFlightDisplay {
                        layout.setConstraints(label, c);
                        add(label);
 
-                       value = new JTextField(20);
-                       value.setFont(label_font);
+                       value = new JTextField(30);
+                       value.setFont(value_font);
                        value.setHorizontalAlignment(SwingConstants.RIGHT);
                        c.gridx = 2; c.gridy = y;
                        c.anchor = GridBagConstraints.EAST;