Here a gif image with corresponding time will be displayed. I have used ranab.img.gif.GifImage class to generate this image. If we don't have the permission to access the X-server in UNIX system, it may fail. Because java.awt classes use native windows calls. In Windows NT it works fine.