Changeset 2317
- Timestamp:
- 10/04/07 13:41:18 (1 year ago)
- Files:
-
- Trunk/SpeechSubmission/VFSpeechSubmission/java/src/speechrecorder/CapturePlayback.java (modified) (2 diffs)
- Trunk/SpeechSubmission/VFSpeechSubmission/java/src/speechrecorder/PlayerApplet.java (modified) (2 diffs)
- Trunk/SpeechSubmission/VFSpeechSubmission/java/src/speechrecorder/RecorderApplet.java (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
Trunk/SpeechSubmission/VFSpeechSubmission/java/src/speechrecorder/CapturePlayback.java
r2314 r2317 3 3 * 4 4 * Note: This is a copy of the CapturePlayback class provided in the 5 * JavaSoundDemo, but modified for use with the MoodleSpeex recorder5 * JavaSoundDemo, but modified for use with the SpeechRecorder 6 6 * applet. 7 7 * … … 221 221 private File licenseNoticeFile; 222 222 // !!!!!! 223 // MoodleSpeex additions:224 223 225 224 //DEL JLabel progCompletion; Trunk/SpeechSubmission/VFSpeechSubmission/java/src/speechrecorder/PlayerApplet.java
r2315 r2317 13 13 * @author kmaclean 14 14 */ 15 public class MoodleSpeexPlayerApplet extends JApplet {15 public class PlayerApplet extends JApplet { 16 16 17 17 private Downloader dl; … … 298 298 */ 299 299 private void reportError(final String str, final Exception err){ 300 System.err.println(" MoodleSpeexPlayerApplet important error: " + str);300 System.err.println("PlayerApplet important error: " + str); 301 301 err.printStackTrace(); 302 302 JButton errButt = new JButton("Error"); 303 303 errButt.addActionListener(new ActionListener(){ 304 304 public void actionPerformed(ActionEvent e){ 305 JOptionPane.showMessageDialog(null, str + "\n\n" + err, " Moodlespeexerror", JOptionPane.ERROR_MESSAGE);305 JOptionPane.showMessageDialog(null, str + "\n\n" + err, "PlayerApplet error", JOptionPane.ERROR_MESSAGE); 306 306 } 307 307 }); Trunk/SpeechSubmission/VFSpeechSubmission/java/src/speechrecorder/RecorderApplet.java
r2316 r2317 21 21 * @author kmaclean 22 22 */ 23 public class MoodleSpeexRecorderApplet extends JApplet {24 25 static MoodleSpeexRecorderApplet applet;23 public class RecorderApplet extends JApplet { 24 25 static RecorderApplet applet; 26 26 private CapturePlayback theRecorder; 27 27 // !!!!!! … … 166 166 // cookie = "kenmacleantest"; 167 167 // !!!!!! 168 System.err.println(" MoodleSpeexRecorderApplet Cookie: " + cookie +":\n");168 System.err.println("RecorderApplet Cookie: " + cookie +":\n"); 169 169 } catch (NullPointerException nullLang){ 170 170 // Default language being set