1 // Test for working AWT. 2 // This file is in the public domain. 3 /** 4 * @author Bruno Haible 5 */ 6 public class TestAWT { main(String[] args)7 public static void main (String[] args) { 8 try { 9 java.awt.Toolkit.getDefaultToolkit(); 10 } catch (Throwable e) { 11 System.exit(1); 12 } 13 System.exit(0); 14 } 15 } 16