Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

how to make a rectangle bounce in java

$
0
0
hey guys i made a code that let the rectangle move move in y coordinate and x coordinate but when it touches the JFrame it stopes moving, so can any one tell me how to let it bounce?

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>