//4개의 tf값을 정수형으로 리턴 int a[]=new int[4]; for (int i=0; i<a.length; i++) { a[i]=Integer.parseInt(tf[i].getText()); }