micropeak: Add mac build file Info.plist
[fw/altos] / micropeak / MicroPeak.java
index 185fa67eff9bf196db6f227f78360780a2ef9bf9..d370f563ecf3528212f723f7474ccb9ea21710b3 100644 (file)
@@ -231,6 +231,7 @@ public class MicroPeak extends MicroFrame implements ActionListener, ItemListene
                addWindowListener(new WindowAdapter() {
                        @Override
                        public void windowClosing(WindowEvent e) {
+                               stats.tell_closing();
                                Close();
                        }
                });
@@ -255,7 +256,6 @@ public class MicroPeak extends MicroFrame implements ActionListener, ItemListene
                ps.height += i.top + i.bottom;
 //             setPreferredSize(ps);
                setSize(ps);
-               setLocationByPlatform(true);
                setVisible(true);
        }
 
@@ -277,7 +277,6 @@ public class MicroPeak extends MicroFrame implements ActionListener, ItemListene
                }
 
                for (int i = 0; i < args.length; i++) {
-                       System.out.printf ("Arg %d: %s\n", i, args[i]);
                        if (args[i].equals("--help"))
                                help(0);
                        else if (args[i].equals("--export"))