Ask coding questions

← Back to all posts
Java swing JPanel drawImage doesn't work
HOWIEWU

How does Java swing JPanel drawImage work in Replit?

statement following in GamePanel.java was ignored by replit
g.drawImage(bricks_img,(xx-BoundX)UNIT_SIZE, (yy-BoundY)UNIT_SIZE, UNIT_SIZE, UNIT_SIZE , this);

Voters
HOWIEWU
Comments
hotnewtop
Bunnytoes

this might help