Microsoft paint in java