This project illustrates the use of jGAF to quickly setup Swing based application that is ready to be used on multiple OS.
More: www.plealog.com
Git clone this project on your system. Then import it within your favorite IDE; on my side, I use Eclipse.
Then, have a look at the "src" directory: you'll see how to use the jGAF library.
Follow this link to read more about jGAF (e.g. Javadoc).
Source code of jGAF can be compiled using javac 1.8+.
This project is fully maintained using Eclipse. So it can be easily imported into that IDE. Nevertheless, I suppose it can be used with any other Java IDEs.
jGAF Tutorial is released under Apache v2 license.