This applet demonstrates importing a media file, an image in this case, and displaying the result.
View Java Source Code