@Override
public void keyTyped(char par1, int par2){
if(textfield.isFocused() && par2 != 1) {
textfield.textboxKeyTyped(par1, par2);
((ProgWidgetString)widget).string = textfield.getText();
NetworkHandler.sendToServer(new PacketProgrammerUpdate(guiProgrammer.te));
} else {
super.keyTyped(par1, par2);
}
}