calling graphics class java code example Example: java GraphicsOperations.drawLine GraphicsOperations.drawLine