Update Graphics.java