Курсовая работа: Объектно-ориентированное программирование
panel1.add (l10);
panel1. add (m_10);
add(panel1,BorderLayout.CENTER);
add (Change,BorderLayout.SOUTH);
Change.addActionListener( new ActionListener(){public void actionPerformed(ActionEvent event)
{
try{
S2 = m_1.getText();
S3 = m_2.getText();
S4 = m_3.getText();
S5 = m_4.getText();
S6 = m_5.getText();
S7 = m_6.getText();
S8 = m_7.getText();
S9 = m_8.getText();
S10 = m_9.getText();
S11 = m_10.getText();
FileOutputStream OS=new FileOutputStream (new File("C:\\KURS\\"+S133+".txt"));
DataOutputStream ods = new DataOutputStream (OS);
ods.writeUTF(S2);
ods.writeUTF(S3);
ods.writeUTF(S4);
ods.writeUTF(S5);
ods.writeUTF(S6);
ods.writeUTF(S7);
ods.writeUTF(S8);
ods.writeUTF(S9);
ods.writeUTF(S10);
ods.writeUTF(S11);