private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
        int min, max, step, repeat, selected;
        try {
            min = Integer.parseInt(jTextField1.getText());
            max = Integer.parseInt(jTextField2.getText());
            step = Integer.parseInt(jTextField3.getText());
            repeat = Integer.parseInt(jTextField4.getText());
            selected = jList1.getSelectedIndices().length;
            if (min < 0 || max < min || (min != max && step <= 0) || repeat <= 0 || selected <= 0) {
                throw new Exception("min < 0 || max < min || (min != max && step <= 0) || repeat <= 0 || selected <= 0");
            }
        } catch (Exception e) {
            JOptionPane.showMessageDialog(this, e.getLocalizedMessage());
            return;
        }
        HashTest.startTest(this, jList1.getSelectedValuesList(), min, max, step, repeat);
    }//GEN-LAST:event_jButton1ActionPerformed