]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
oops
authoridgay <idgay>
Wed, 4 Apr 2007 22:30:22 +0000 (22:30 +0000)
committeridgay <idgay>
Wed, 4 Apr 2007 22:30:22 +0000 (22:30 +0000)
apps/AntiTheft/java/AntiTheftGui.java

index a1e8c04c678500bbb1ee2ece6cb3a005e656f2a4..6085407bce05699e0e23833feb85b046d82fcb7b 100644 (file)
@@ -100,7 +100,7 @@ public class AntiTheftGui implements MessageListener, Messenger {
        detDarkCb = buttonPanel.makeCheckBox("Dark", true);
        c.gridwidth = GridBagConstraints.REMAINDER;
        detAccelCb = buttonPanel.makeCheckBox("Movement", false);
-       buttonPanel.addSeparator(SwingConstants.HORIZONTAL);
+       buttonPanel.makeSeparator(SwingConstants.HORIZONTAL);
 
 
        buttonPanel.makeLabel("Theft Reports", JLabel.CENTER);
@@ -112,7 +112,7 @@ public class AntiTheftGui implements MessageListener, Messenger {
        repServerCb = buttonPanel.makeCheckBox("Server", false);
        c.gridwidth = GridBagConstraints.REMAINDER;
        repNeighboursCb = buttonPanel.makeCheckBox("Neighbours", false);
-       buttonPanel.addSeparator(SwingConstants.HORIZONTAL);
+       buttonPanel.makeSeparator(SwingConstants.HORIZONTAL);
 
        buttonPanel.makeLabel("Interval", JLabel.CENTER);
        fieldInterval = buttonPanel.makeTextField(10, null);