大家好,我在jtextfield写的文本,怎么随时打印出来?用jtextfield.gettext(),弄不出来!
int Sid1= Integer.parseInt(Sid.getText());(如果获得的文本框是整数型)