altoslib: Correct mega/metrum eeprom years by adding 2000
[fw/altos] / altosui / AltosIdleMonitorUI.java
index 1ef30f0a29a17dcd7db0a7e70932b9d305ca989b..f6a91de872b5a8927d2c459d31682e2490277794 100644 (file)
@@ -65,19 +65,19 @@ public class AltosIdleMonitorUI extends AltosUIFrame implements AltosFlightDispl
 
        public void show(AltosState state, AltosListenerState listener_state) {
                status_update.saved_state = state;
-               try {
+//             try {
                        pad.show(state, listener_state);
                        flightStatus.show(state, listener_state);
                        flightInfo.show(state, listener_state);
-               } catch (Exception e) {
-                       System.out.print("Show exception" + e);
-               }
+//             } catch (Exception e) {
+//                     System.out.print("Show exception " + e);
+//             }
        }
 
-       public void update(final AltosState state) {
+       public void update(final AltosState state, final AltosListenerState listener_state) {
                Runnable r = new Runnable() {
                                public void run() {
-                                       show(state, null);
+                                       show(state, listener_state);
                                }
                        };
                SwingUtilities.invokeLater(r);