JPainter to simulate the Paint program in Windows