import java.util.prefs.*;
import java.util.concurrent.LinkedBlockingQueue;
-import altosui.AltosSerial;
-import altosui.AltosSerialMonitor;
-import altosui.AltosTelemetry;
-import altosui.AltosState;
-import altosui.AltosDeviceDialog;
-import altosui.AltosPreferences;
-import altosui.AltosLog;
-import altosui.AltosVoice;
-
public class AltosEepromMonitor extends JDialog {
Container pane;
super (owner, "Download Flight Data", false);
GridBagConstraints c;
- Insets il = new Insets(4,0,4,4);
- Insets ir = new Insets(4,4,4,0);
+ Insets il = new Insets(4,4,4,4);
+ Insets ir = new Insets(4,4,4,4);
pane = getContentPane();
pane.setLayout(new GridBagLayout());
c.anchor = GridBagConstraints.CENTER;
c.gridx = 0; c.gridy = 3;
c.gridwidth = GridBagConstraints.REMAINDER;
- Insets ib = new Insets(4,0,4,0);
+ Insets ib = new Insets(4,4,4,4);
c.insets = ib;
pane.add(pbar, c);
pane.add(cancel, c);
pack();
+ setLocationRelativeTo(owner);
setVisible(true);
}