a simple gif viewer written in java