}
else{
mDataStream = new TestDataStream(sampleSize);
}
DataStreamThread dataStreamThread = new DataStreamThread(mDataStream, this);
dataStreamThread.start();
goButton.setEnabled(false);/* that is why another dataStreamThread won't be started */
stopButton.setEnabled(true);
} catch (Exception e) {