import java.lang.*;String tempStr = Integer.toString(getID()/*int型参数*/);
JTextField.setText(tempStr);可以看看有关java.lang.Integer的帮助。