See the org.apache.pivot.wtk.media.Picture class. It is a concrete subclass of 
Image that wraps an instance of java.awt.image.BufferedImage. You can 
create/populate the BufferedImage however you like. Then wrap it in a Picture 
and call ImageView#setImage().
G

On Jan 26, 2011, at 6:46 AM, Jérôme Serré wrote:

> Hello,
> 
> To display an image in ImageView I use this method :
> iv.setImage(Image.load(
> <http://download.oracle.com/javase/6/docs/api/java/net/URL.html?is-external=
> true> URL location));
> Is it possible to fill ImageView with an array of bytes or another object
> that contain image ?
> 
> Thank you.
> 
> Jérôme
> 
> ____________________________
> La gestion de votre cave
> <http://85.216.59.161:8000/cave> http://85.216.59.161:8000/cave
> 
> 

Reply via email to