X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fxwt%2Fplat%2FWin32.java;fp=src%2Forg%2Fxwt%2Fplat%2FWin32.java;h=314089867cdcabb126dedfa42b3fe2f2ade8583f;hb=d602d58d0fa307be96122e2fe4e0606015bd5d00;hp=b56a3ef6c585ff8c8f11210d324bcda77bd578f2;hpb=8b9946f7b7cac616e447d4022d3fad8801bcd011;p=org.ibex.core.git diff --git a/src/org/xwt/plat/Win32.java b/src/org/xwt/plat/Win32.java index b56a3ef..3140898 100644 --- a/src/org/xwt/plat/Win32.java +++ b/src/org/xwt/plat/Win32.java @@ -43,16 +43,7 @@ public class Win32 extends GCJ { 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(); }