View Single Post
  #4 (permalink)  
Old 08-14-2007, 11:32 PM
hardwired hardwired is online now
Senior Member
 
Join Date: Jul 2007
Posts: 1,146
hardwired is on a distinguished road
is there anyway to do it with the image.getToolKit syntax for it?
For making the BufferedImages? The closest thing is the Component createImage method. Check the Method Detail section for this method in the Component api for details about its use (more restricted than BufferedImage way shown above).
Code:
Component c ... // after c is realized and visible int w = ..., h = ... (BufferedImage)c.createImage(w, h);
Reply With Quote