private void sendButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_sendButtonActionPerformed
        // TODO add your handling code here:
        String[] values = sensorValuesTextArea.getText().split(",");
        if (values.length > roombaDummyIF.sensorPacketsRequested.length) {
            sentOKLabel.setText("too many values entered");
        } else if (values.length < roombaDummyIF.sensorPacketsRequested.length) {
            sentOKLabel.setText("too few values entered");
        }
        int[] temp = new int[values.length];
        boolean goodString = true;
        for (int i = 0; i < values.length; i++) {
            try {
                temp[i] = Integer.parseInt(values[i].trim());
            } catch (NumberFormatException ex) {
                sentOKLabel.setText("bad format around value[" + i + "]: " + values[i]);
                goodString = false;
                break;
            }
        }
        if (goodString) {
            roombaDummyIF.setSensorData(temp);
            sentOKLabel.setText("OK");
        }
    }//GEN-LAST:event_sendButtonActionPerformed