public Win32() { }
- public void init() {
- String logfile = getTempPath() + "xwt-log.txt";
- try {
- PrintStream ps = new PrintStream(new FileOutputStream(logfile));
- System.setOut(ps);
- System.setErr(ps);
- } catch (Throwable e) {
- criticalAbort("Exception while attempting to redirect logging to " + logfile + " -- " + e);
- }
-
+ public void postInit() {
new Thread() { public void run() { natInit(); } }.start();
messagePumpStarted.block();
}