Changeset 2364 for Trunk/SpeechSubmission/VFSpeechSubmission/java/src/speechrecorder/RecorderApplet.java
- Timestamp:
- 11/29/07 10:08:20 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
Trunk/SpeechSubmission/VFSpeechSubmission/java/src/speechrecorder/RecorderApplet.java
r2363 r2364 25 25 static RecorderApplet applet; 26 26 private CapturePlayback theRecorder; 27 // !!!!!!28 private CapturePlayback theRecorder2;29 // !!!!!!30 27 ////// MOODLEY: 31 28 String subject; 32 29 String fileFieldName; 33 // !!!!!!34 String prompt1;35 String prompt2;36 String prompt3;37 String prompt4;38 String prompt5;39 String promptID1;40 String promptID2;41 String promptID3;42 String promptID4;43 String promptID5;44 String prompt6;45 String prompt7;46 String prompt8;47 String prompt9;48 String prompt10;49 String promptID6;50 String promptID7;51 String promptID8;52 String promptID9;53 String promptID10;54 // !!!!!!55 30 URL endPageURL; 56 57 // !!!!!!58 31 URL helpPageURL; 59 60 // !!!!!!61 32 URL destinationURL; 62 33 String language; … … 67 38 public void init() { 68 39 applet = this; 69 String param = null;70 71 40 // At this point grab all our parameters 72 41 getParameters(); … … 102 71 System.err.println("RecorderApplet Cookie: " + cookie +":\n"); 103 72 } catch (NullPointerException nullLang){ 104 // Default language being set105 106 73 errorMessage(System.out,"cookie is null"); 107 74 } … … 112 79 if (language == "" || language == null) 113 80 language = "EN"; 114 System.err.println("RecorderAppletlanguage is:" + language);81 // debug System.err.println("RecorderAppletlanguage is:" + language); 115 82 } catch (NullPointerException nullLang){ 116 83 // Default language being set … … 123 90 // !!!!!! 124 91 destinationURL = new URL(getParameter("destination")); 125 // Following line is for testing, and to hard code the applet to postlet.com 126 127 // destinationURL = new URL("http://localhost:90/httpd/postlet/javaUpload.php"); 128 // !!!!!! 92 // Following line is for testing, and to hard code the applet to postlet.com 93 // destinationURL = new URL("http://localhost:90/httpd/postlet/javaUpload.php"); 94 // !!!!!! 129 95 } catch(java.net.MalformedURLException malurlex){ 130 96 // Do something here for badly formed destination, which is ESENTIAL.