X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=altosui%2FAltosUI.java;h=dcc0de600817aab22666705581ffe42afa8de996;hb=c607bd1442e60fec1421955c996f6aad1d98647a;hp=e4af6b3b39d295674dd79b7605c3cee5f0330bd1;hpb=382c54a0d052c8975b57c995ef83bc8934bde242;p=fw%2Faltos diff --git a/altosui/AltosUI.java b/altosui/AltosUI.java index e4af6b3b..dcc0de60 100644 --- a/altosui/AltosUI.java +++ b/altosui/AltosUI.java @@ -87,7 +87,7 @@ public class AltosUI extends AltosFrame { c.weighty = 1; b = new JButton(label); - Dimension ps = b.getPreferredSize(); + //Dimension ps = b.getPreferredSize(); gridbag.setConstraints(b, c); add(b, c); @@ -441,9 +441,11 @@ public class AltosUI extends AltosFrame { return null; } AltosRecordIterable recs; - AltosReplayReader reader; + //AltosReplayReader reader; if (file.getName().endsWith("eeprom")) { recs = new AltosEepromIterable(in); + } else if (file.getName().endsWith("mega")) { + recs = new AltosEepromMegaIterable(in); } else { recs = new AltosTelemetryIterable(in); }