X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fxwt%2Fplat%2FAWT.java;h=5f12430625c92e0a4e6a1195d5146b08f4762704;hb=7fbe59aa53c35d9c8e18c576a7ef63ce40675219;hp=4a79839ea1272a03fa8de05cf9232bb43ae3bcb2;hpb=32d40073be7208ce1b33677f0cf9e630f46bbfb8;p=org.ibex.core.git diff --git a/src/org/xwt/plat/AWT.java b/src/org/xwt/plat/AWT.java index 4a79839..5f12430 100644 --- a/src/org/xwt/plat/AWT.java +++ b/src/org/xwt/plat/AWT.java @@ -27,6 +27,11 @@ public class AWT extends Platform { protected int _getMaxDescent(String font) { return getFont(font).metrics.getMaxDescent(); } protected boolean _supressDirtyOnResize() { return true; } + protected void postInit() { + if (Log.on) Log.log(Platform.class, " color depth = " + + Toolkit.getDefaultToolkit().getColorModel().getPixelSize() + "bpp"); + } + protected void _criticalAbort(String message) { if (Log.on) Log.log(this, message); final Dialog d = new Dialog(new Frame(), "XWT Cannot Continue");