diff options
| author | christos <christos@NetBSD.org> | 2005-04-29 14:59:33 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2005-04-29 14:59:33 +0000 |
| commit | 7a27fa0d628db127ef99d5d7693cabac225371a0 (patch) | |
| tree | 2e20b30dd1880af6997bca68de483c5182c818a7 /gnu/dist/gettext/gettext-tools/examples/hello-java-swing/m4/TestAWT.java | |
| parent | f44c5b012e777648a772746694546a82b874ffd5 (diff) | |
ftp ftp.gnu.org
Diffstat (limited to 'gnu/dist/gettext/gettext-tools/examples/hello-java-swing/m4/TestAWT.java')
| -rw-r--r-- | gnu/dist/gettext/gettext-tools/examples/hello-java-swing/m4/TestAWT.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/dist/gettext/gettext-tools/examples/hello-java-swing/m4/TestAWT.java b/gnu/dist/gettext/gettext-tools/examples/hello-java-swing/m4/TestAWT.java new file mode 100644 index 00000000000..21515fcfd73 --- /dev/null +++ b/gnu/dist/gettext/gettext-tools/examples/hello-java-swing/m4/TestAWT.java @@ -0,0 +1,11 @@ +// Test for working AWT. +public class TestAWT { + public static void main (String[] args) { + try { + java.awt.Toolkit.getDefaultToolkit(); + } catch (Throwable e) { + System.exit(1); + } + System.exit(0); + } +} |
