Changeset 2350
- Timestamp:
- 11/14/07 21:19:28 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
Trunk/SpeechSubmission/VFSpeechSubmission/java/src/speechrecorder/CapturePlayback.java
r2349 r2350 330 330 String stopButton = labels.stopButton; 331 331 String playButton = labels.playButton; 332 333 String peakWarningLabel = labels.peakWarningLabel; 334 String sampleGraphFileLabel = labels.sampleGraphFileLabel; 335 String sampleGraphLengthLabel = labels.sampleGraphLengthLabel; 336 String sampleGraphPositionLabel = labels.sampleGraphPositionLabel; 332 337 // !!!!!! 333 338 … … 1809 1814 progBar.setStringPainted(true); 1810 1815 progBar.setString(samplingGraph.peakWarning ? 1811 "Warning: input may be too loud": "");1816 peakWarningLabel : ""); 1812 1817 // !!!!!! 1813 1818 while (thread != null) { … … 2018 2023 progBar.setStringPainted(true); 2019 2024 progBar.setString(samplingGraph.peakWarning ? 2020 "Warning: input may be too loud": "");2025 peakWarningLabel : ""); 2021 2026 } 2022 2027 } // End class Capture … … 2590 2595 g2.setColor(Color.black); 2591 2596 g2.setFont(font12); 2592 g2.drawString( "File: " + fileName + " Length: " + String.valueOf(duration) + " Position: "+ String.valueOf(seconds), 3, h-4);2597 g2.drawString(sampleGraphFileLabel + fileName + sampleGraphLengthLabel + String.valueOf(duration) + sampleGraphPositionLabel + String.valueOf(seconds), 3, h-4); 2593 2598 2594 2599 if (audioInputStream != null) { Trunk/SpeechSubmission/VFSpeechSubmission/java/src/speechrecorder/LabelLocalizer.java
r2349 r2350 55 55 String stopButton; 56 56 String playButton; 57 String peakWarningLabel; 58 String sampleGraphFileLabel; 59 String sampleGraphLengthLabel; 60 String sampleGraphPositionLabel; 57 61 58 62 public LabelLocalizer (String Language) { … … 125 129 stopButton = "Stop"; 126 130 playButton = "Play"; 131 132 peakWarningLabel = "Warning: input may be too loud"; 133 sampleGraphFileLabel = "File: "; 134 sampleGraphLengthLabel = " Length: "; 135 sampleGraphPositionLabel =" Position: "; 136 127 137 } 128 138 private void Dutch() { … … 186 196 stopButton = "Stop"; 187 197 playButton = "Play"; 198 199 peakWarningLabel = "Warning: input may be too loud"; 200 sampleGraphFileLabel = "File: "; 201 sampleGraphLengthLabel = " Length: "; 202 sampleGraphPositionLabel =" Position: "; 188 203 } 189 204