- Timestamp:
- 12/13/11 16:28:37 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JFCMonitor/src/de/ugoe/cs/eventbench/jfcmonitor/Runner.java
r295 r303 4 4 import java.awt.Toolkit; 5 5 import java.awt.event.AWTEventListener; 6 import java.io.File Writer;6 import java.io.FileOutputStream; 7 7 import java.io.IOException; 8 8 import java.io.OutputStreamWriter; … … 45 45 + ".log"; 46 46 47 FileWriter writer; 47 FileOutputStream fis; 48 OutputStreamWriter writer; 48 49 try { 49 50 // the writer is not closed explicitly! 50 writer = new FileWriter(logfileName, true);51 writer .write("<newsession />");51 fis = new FileOutputStream(logfileName, true); 52 writer = new OutputStreamWriter(fis, "UTF-16"); 52 53 } catch (IOException e) { 53 54 System.err.println("JFCMONITOR -- failure opening logfile: "
Note: See TracChangeset
for help on using the changeset viewer.