Курсовая работа: Объектно-ориентированное программирование
add (NextButton);
S2 = new String();
try
{
FileInputStream is = new
FileInputStream(new
File("C:\\USER\\NOW.txt"));
DataInputStream ids = new DataInputStream(is);
S2=ids.readUTF();
FileInputStream is1 = new
FileInputStream(new
File("C:\\KURS\\"+S2+".txt"));
DataInputStream ids1 = new DataInputStream(is1);
String S30=ids1.readUTF();
String S31=ids1.readUTF();
String S32=ids1.readUTF();
String S33=ids1.readUTF();
String S34=ids1.readUTF();
String S35=ids1.readUTF();
String S36=ids1.readUTF();
String S37=ids1.readUTF();
String S38=ids1.readUTF();
String S39=ids1.readUTF();
d1[0]=Integer.parseInt(S30);
d1[1]=Integer.parseInt(S31);
d1[2]=Integer.parseInt(S32);
d1[3]=Integer.parseInt(S33);
d1[4]=Integer.parseInt(S34);
d1[5]=Integer.parseInt(S35);