summaryrefslogtreecommitdiff
path: root/ao-tools/altosui/AltosFlightUI.java
diff options
context:
space:
mode:
Diffstat (limited to 'ao-tools/altosui/AltosFlightUI.java')
-rw-r--r--ao-tools/altosui/AltosFlightUI.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/ao-tools/altosui/AltosFlightUI.java b/ao-tools/altosui/AltosFlightUI.java
index 3581c54c..ae31048d 100644
--- a/ao-tools/altosui/AltosFlightUI.java
+++ b/ao-tools/altosui/AltosFlightUI.java
@@ -45,7 +45,8 @@ public class AltosFlightUI extends JFrame implements AltosFlightDisplay {
AltosDescent descent;
AltosLanded landed;
- private AltosStatusTable flightStatus;
+ private AltosFlightStatus flightStatus;
+ private JScrollPane flightInfoPane;
private AltosInfoTable flightInfo;
static final int tab_pad = 1;
@@ -117,7 +118,7 @@ public class AltosFlightUI extends JFrame implements AltosFlightDisplay {
}
cur_tab = tab;
}
- flightStatus.set(state);
+ flightStatus.show(state, crc_errors);
flightInfo.show(state, crc_errors);
}
@@ -133,7 +134,7 @@ public class AltosFlightUI extends JFrame implements AltosFlightDisplay {
setTitle(String.format("AltOS %s", reader.name));
- flightStatus = new AltosStatusTable();
+ flightStatus = new AltosFlightStatus();
vbox = new Box (BoxLayout.Y_AXIS);
vbox.add(flightStatus);
@@ -153,7 +154,8 @@ public class AltosFlightUI extends JFrame implements AltosFlightDisplay {
pane.add("Landed", landed);
flightInfo = new AltosInfoTable();
- pane.add("Table", flightInfo.box());
+ flightInfoPane = new JScrollPane(flightInfo.box());
+ pane.add("Table", flightInfoPane);
vbox.add(pane);