Paint and Multimedia player in Java