Курсовая работа: Объектно-ориентированное программирование
private int r3=0;
private DataInputStream ids13;
private Device [] df;
private int [] m1;
private DataInputStream ids131;
private Device [] newStaff1=new Device[10];
static Device[] readData(BufferedReader in)
throws IOException
{
int n = Integer.parseInt(in.readLine());
Device [] e=new Device[n];
for(int i=0;i<n;i++)
{
e[i] = new Device();
e[i].readData(in);
}
return e;
}
}
class ButtonFrame11 extends JFrame
{
public ButtonFrame11()
{
Toolkit kit = Toolkit.getDefaultToolkit();
Dimension screenSize = kit.getScreenSize();
int screenHeight = screenSize.height;
int screenWidth = screenSize.width;
setSize(screenWidth/3,screenHeight/5);
setLocation(screenWidth/4,screenHeight/4);