public Frame() {
        setVisible(false);
        listeners = new ActionListeners(this);
        hide.addActionListener(listeners);
        close.addActionListener(listeners);
        auth = new JFrame();
        auth.setTitle("LIG Client Authorization");
        auth.setSize(640, 480);
        auth.setResizable(false);
        auth.setLayout(new BorderLayout());
        auth.setDefaultCloseOperation(EXIT_ON_CLOSE);
        name = new TextField("Логин"); password = new PasswordField("Пароль");
        name.setEditable(true); password.setEditable(true);
        name.setVisible(true); password.setVisible(true);
        name.setFont(name.getFont().deriveFont(14f));
        password.setFont(name.getFont());
        name.setPreferredSize(new Dimension(120, 24));
        password.setPreferredSize(new Dimension(120, 24));
        name.addFocusListener(listeners);
        name.addKeyListener(listeners);
        password.addFocusListener(listeners);
        password.addKeyListener(listeners);
        auth_button.setPreferredSize(new Dimension(120, 24));
        JPanel auth_panel = new JPanel();
        JScrollPane forName = new JScrollPane(name), forPassword = new JScrollPane(password);
        auth_button.setAlignmentX(CENTER_ALIGNMENT);
        auth_button.addActionListener(listeners);
        auth_panel.add(forName); auth_panel.add(forPassword); auth_panel.add(auth_button);
        auth.add(auth_panel, BorderLayout.CENTER);
        auth.pack();
        auth.setLocationRelativeTo(null);
        auth.validate();
        auth.repaint();
        auth.setVisible(true);
        
        for(int i = 0; i < 4; i++) ifs[i] = new ImageFrame(this, 0, 0, i + 1);
    }