public void paintBeforeMotes(Graphics g) {
}
private static String getMoteString(Mote mote) {
IPAddress ipAddr = mote.getInterfaces().getIPAddress();
if ((ipAddr != null) && (ipAddr.hasIP())) {
if (ipAddr.getLocalIP() == null) {
return "";
}
return ipAddr.getLocalIP().toString();
}
RimeAddress rimeAddr = mote.getInterfaces().getRimeAddress();
if (rimeAddr != null) {
return rimeAddr.getAddressString();