Samples
Below are some samples of code using the paint API.

Checker Board
Random Highlighting
Inner Borders