Migrating most Painter related methods to NoAWT