, . , , , , . , , , . , . , BufferedImage , , g.drawImage(Image img, int x, int y, ImageObserver observer) . , , BufferedImage 1 . , g.drawImage(Image img, int x, int y, int width, int height, ImageObserver observer).
However, worrying about what happens faster is usually pointless, although if you take 1 millisecond and the other takes 0.1 millisecond (unless you call it 1000 times per second). For more information, I would recommend Filthy Rich Clients, especially Chapters 4, 5, and 7.
source
share