Example codes for Java basic. deadlock: To illustrate deadlock between two threads. fileautoload: Illustrates automatical file loading.