posted 12 years ago
Hello everyone, below code is for bounce multiple balls, my code is working correctly, but when i m trying to add Color also as a parameter, it not changing the color of the balls, code is:
Point.java
Cfish.java
it's working fine but when i m adding color as a argument like this:
replace the point.java paint method:
replace the Cfish.java display method:
now it's not working..
how can i pass color as a parameter...??