public void message(LocoNetMessage m){
  if (m.getNumDataElements() != 6) {
    return;
  }
  int b1=m.getElement(0) & 0xFF;
  int b2=m.getElement(1) & 0xFF;
  int b3=m.getElement(2) & 0xFF;
  int b4=m.getElement(3) & 0x07;
  if ((b1 == 0xD7) && ((b2 == 0x12) || (b2 == 0x17) || (b2 == 0x1F)) && (b3 == 0x00)) {
    idBox.setSelectedIndex(b4 + 1);
  }
}

public void message ( LocoNetMessage m ) { if ( m . getNumDataElements ( ) != 6 ) { return ; } int b1 = m . getElement ( 0 ) & 0xFF ; int b2 = m . getElement ( 1 ) & 0xFF ; int b3 = m . getElement ( 2 ) & 0xFF ; int b4 = m . getElement ( 3 ) & 0x07 ; if ( ( b1 == 0xD7 ) && ( ( b2 == 0x12 ) || ( b2 == 0x17 ) || ( b2 == 0x1F ) ) && ( b3 == 0x00 ) ) { idBox . setSelectedIndex ( b4 + 1 ) ; } }
process the incoming message , see if it is a panel response , and if so parse the loconet id . use that value to set the id box . this is the callback called by the lntrafficcontroller
