private void initButtons(){
        JButton buttonCancel = new JButton("Cancel");
        buttonCancel.setBounds(getWidth() - 135, getHeight() - 65 ,
                Main.buttonSize.width, Main.buttonSize.height);
        buttonCancel.addMouseListener(new MouseAdapter() {
            @Override
            public void mouseClicked(MouseEvent e) {
                dispose();
            }
        });

        JButton buttonOk = new JButton("OK");
        buttonOk.setBounds(getWidth()-260, getHeight()-65,
                Main.buttonSize.width,Main.buttonSize.height);
        buttonOk.addMouseListener(new MouseAdapter() {
            @Override
            public void mouseClicked(MouseEvent e) {
                Main.setStructureBase(dataList);
                dispose();
            }
        });

        JButton buttonGenerate = new JButton("Generate");
        buttonGenerate.setSize(Main.buttonSize);
        buttonGenerate.setLocation(STEP_LEFT,
                getHeight()-65);
        buttonGenerate.addMouseListener(new MouseAdapter() {
            @Override
            public void mouseClicked(MouseEvent e) {
                generateData();
            }
        });

        add(buttonCancel);
        add(buttonOk);
        add(buttonGenerate);

    }