Download miniconda3/share/doc/gettext/examples/hello-java-awt/m4/TestAWT.java from jasonfan/devboxbackup: direct link, hf CLI and curl.
- Browser
- Download file 298 Bytes
-
https://huggingface.co/datasets/jasonfan/devboxbackup/resolve/main/miniconda3/share/doc/gettext/examples/hello-java-awt/m4/TestAWT.java
- Command line
-
hf download hf://datasets/jasonfan/devboxbackup/miniconda3/share/doc/gettext/examples/hello-java-awt/m4/TestAWT.java
-
curl -L -o TestAWT.java https://huggingface.co/datasets/jasonfan/devboxbackup/resolve/main/miniconda3/share/doc/gettext/examples/hello-java-awt/m4/TestAWT.java
298 Bytes
| // Test for working AWT. | |
| // This file is in the public domain. | |
| /** | |
| * @author Bruno Haible | |
| */ | |
| public class TestAWT { | |
| public static void main (String[] args) { | |
| try { | |
| java.awt.Toolkit.getDefaultToolkit(); | |
| } catch (Throwable e) { | |
| System.exit(1); | |
| } | |
| System.exit(0); | |
| } | |
| } | |