hi. I'm trying to convert awt.Component to BufferedImage
 
--------------------------------------------------------------------
 
bimg = (BufferedImage) p2.getVisualComponent().getGraphicsConfiguration().createCompatibleImage(width,height);
 
----------------------------------------------------------------------
 
and i always get 'java.lang.NullPointerException' error.
 
how can i make it?
==========================================
 
HYU Virtual Reality Lab.     SW Keum
------------------------------------------

Reply via email to