Posts by Rodrigo Matela • 21 points
1 post
-
2
votes0
answers57
viewsQ: How to pass x seconds and perform the action itself
I have a question in Java. Basically, I wanted to get a fillrect to draw 0.5 in 0.5 seconds, more or less this way: if(passedTime >= 0 && passedTime < 500) { g.fillRect(0, 45, 64, 64);…
javaasked Rodrigo Matela 21