Giffer is a simple and easy-to-use java class to make gif animation from images.
You can either use an array of filenames like this :
Giffer.generateFromFiles(String[] filenames, String output, int delay, boolean loop)
Or an array of BufferedImage.
Giffer.generateFromFiles(BufferedImage[] images, String output, int delay, boolean loop)