Java 2D games tutorial - programming Java games

https://docs.oracle.com/javase/jp/8/docs/api/java/awt/doc-files/AWTThreadIssues.html#Autoshutdown