// Record a test case. private void record() { // Update the text pane buttons. updateGUI("Started Recording."); recordButton.setEnabled(false); stopButton.setEnabled(true); // Clear the old test case and begin recording new EFG and TST files. efgtstCapture.reset(); efgtstCapture.start(); }