getImageIcon (MediaObject)

format

ImageIcon getImageIcon(MediaObject input) throws EveException

description

Retrieves the image (.jpg) stored within a MediaObject. The image is retrieved as an icon and can be used within an application.

parameters

Icon input - the MediaObject whose image you wish to retrieve as an icon

returns

an icon representing the image stored in the MediaObject

throws

The getImageIcon() method throws an EveException if the retrieval fails.