how to use graphics class in java code example Example: java GraphicsOperations.drawLine GraphicsOperations.drawLine