private  boolean checkData(){
        int valueLength = Integer.parseInt(textFieldResult.getText());
        if (valueLength == 0){
            showMessage("error","The length of array is null!","Data Error!");
            return false;
        }
        else {
            return true;
        }
    }