screenshot for java compliance