[EMAIL PROTECTED] wrote:

> However, when I try to change the code to add an image to the > rectangle it does 
>not work
> 
>      BufferedImage bi = new BufferedImage(5,
>                 5,BufferedImage.TYPE_INT_RGB);
>      Graphics2D big = bi.createGraphics();
> 
>      // Render into the BufferedImage graphics to create the texture
> 
>       big.drawImage(actualImage,5,5,null);

Could it be that actualImage hasn't been fully loaded before the call to
drawImage?


Robbie
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 2D Home Page: http://java.sun.com/products/java-media/2D/

Reply via email to