private void generateData(){
        numberOfLetters = wordLength.getItemCount();
        int cap = (Integer)valueWords.get(Integer.toString(numberOfLetters-1));
        if (checkData()){
            try{
                GenerateDataKit dataKit = new GenerateDataKit(Integer.parseInt(textFieldResult.getText()),
                        structs.get(comboBoxType.getSelectedIndex()),
                        comboBoxState.getSelectedItem().toString(),
                        Integer.parseInt(numberKitElem.getValue().toString()), cap);

                Thread threadDataKit = new Thread(dataKit);
                threadDataKit.start();
                while(threadDataKit.isAlive()){
                    setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
                }
                setCursor(Cursor.getDefaultCursor());
                DataStructures data = Main.getStructureBase().getData(
                        Main.getStructureBase().getLength()-1
                );
                tableModelArrays.addRow(loadRow(data));
            }catch (UnsupportedOperationException ex){
                showMessage("error", "Error# 1001 "+ex.getMessage(),"Add data error!");
                ex.printStackTrace();
            }

        }
    }