~ubuntu-branches/ubuntu/breezy/gettext/breezy

« back to all changes in this revision

Viewing changes to gettext-tools/examples/hello-java-awt/m4/TestAWT.java

  • Committer: Bazaar Package Importer
  • Author(s): Santiago Vila
  • Date: 2004-03-14 17:40:02 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040314174002-p1ad5ldve1hqzhye
Tags: 0.14.1-2
* Added libexpat1-dev to Build-Depends, for glade support.
* Added libc0.1-dev to Build-Depends, for GNU/kFreeBSD.
* Removed special-casing of knetbsd-gnu in debian/rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Test for working AWT.
 
2
public class TestAWT {
 
3
  public static void main (String[] args) {
 
4
    try {
 
5
      java.awt.Toolkit.getDefaultToolkit();
 
6
    } catch (Throwable e) {
 
7
      System.exit(1);
 
8
    }
 
9
    System.exit(0);
 
10
  }
 
11
}