Java 2d Component, For example, if g2 is a Graphics2D, then calling g2.