Skip to content

Commit 5d9eb1f

Browse files
committed
more BufferedImage stuff
1 parent ae14083 commit 5d9eb1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sources/net.sf.j2s.java.core/src/sun/swing/CachedPainter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ protected abstract void paintToImage(Component c, Image image, Graphics g,
198198
protected void paintImage(Component c, Graphics g,
199199
int x, int y, int w, int h, Image image,
200200
Object[] args) {
201-
((JSGraphics2D)(Object)g).drawImagePriv(image, x, y, null);
201+
((JSGraphics2D)(Object)g).drawImageFromRaster(image, x, y, null);
202202
}
203203

204204
/**

0 commit comments

Comments
 (0)