The code was updated to use java.util.Timer instead of java.swing.Timer when drawing to the Pixel.