AltosPad pad;
AltosIgnitor igniter;
AltosLanded landed;
- AltosCompanionInfo companion;
- boolean has_companion;
boolean has_state;
boolean has_igniter;
}
}
- if (state.companion != null) {
- if (!has_companion) {
- pane.add("Companion", companion);
- has_companion= true;
- }
- } else {
- if (has_companion) {
- pane.remove(companion);
- has_companion = false;
- }
- }
-
for (AltosFlightDisplay d : displays) {
try {
d.show(state, listener_state);
displays.add(flightInfo);
pane.add("Table", new JScrollPane(flightInfo));
- companion = new AltosCompanionInfo();
- displays.add(companion);
- has_companion = false;
has_state = false;
/* Make the tabbed pane use the rest of the window space */