private void nameFieldKeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_nameFieldKeyPressed
// TODO add your handling code here:
MidiThread mt=MidiThread.getInstance();
String name=nameField.getText();
for (int i=0;i<16&&i<name.length();i++) {
mt.emitProgramChange(this,
getProgramBuffer().getActiveProgramNumber(),
RackAttack.PARAM_NAME_AH_AL[i],
(byte)name.charAt(i));
}
}//GEN-LAST:event_nameFieldKeyPressed