a JAVA basied painting application