Hello everyone, I have a doubt regarding the way to display images and play sound files using java. I'm importing: import javax.media.*; the code is: private Player p; p = Manager.createPlayer(f.toURL()); p.addControllerListener(new EventHandler()); p.start(); Will this work in linux. Are methods and classes for playing them same on all platforms?? Another question is: can someone tell me how to display a image from a file using java (in linux)? Thanks, Jyothsna.