fixed bad spelling

This commit is contained in:
fros4943 2006-10-11 14:19:14 +00:00
parent 6d88bf4925
commit f6bf8697a7

View file

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* $Id: ContikiBeeper.java,v 1.2 2006/10/03 08:44:21 fros4943 Exp $ * $Id: ContikiBeeper.java,v 1.3 2006/10/11 14:19:14 fros4943 Exp $
*/ */
package se.sics.cooja.contikimote.interfaces; package se.sics.cooja.contikimote.interfaces;
@ -121,14 +121,14 @@ public class ContikiBeeper extends Beeper implements ContikiMoteInterface {
JPanel panel = new JPanel(); JPanel panel = new JPanel();
panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS)); panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS));
final JLabel statusLabel = new JLabel("Beeping activate"); final JLabel statusLabel = new JLabel("Beeping active");
panel.add(statusLabel); panel.add(statusLabel);
Observer observer; Observer observer;
this.addObserver(observer = new Observer() { this.addObserver(observer = new Observer() {
public void update(Observable obs, Object obj) { public void update(Observable obs, Object obj) {
int currentTime = mote.getSimulation().getSimulationTime(); int currentTime = mote.getSimulation().getSimulationTime();
statusLabel.setText("Beeping activate: last beep at " + currentTime); statusLabel.setText("Beeping active: last beep at " + currentTime);
// Beep on speakers // Beep on speakers
Toolkit.getDefaultToolkit().beep(); Toolkit.getDefaultToolkit().beep();
} }