The next two examples show how to draw a rectangle and also a filled rectangle: display.drawRect(15,15,30,15,BLACK);