question: 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 ) ; } }
target:  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