import Graphics2D; import graphics2d.Graphics2DFramework; // Called repeatedly at screen refresh intervals // (several times per second) void onPaint ( int rendererID ) { // Set the background color to gray setGraphics2DColor( rendererID, 200, 200, 200, 255 ); // Set the drawing color to blue setDrawColor( rendererID, 0, 0, 255, 255 ); // Draw a point drawPoint( rendererID, 100, 100, 20, true ); }