Test of java graphics